VMware Communities
bivaswap
Contributor
Contributor

cloud-init static IP

Hello,

I was trying to use the Ubuntu cloud image: bionic-server-cloudimg-amd64.ova

During import wizard, I found the user-data option, where it asked to put base64 encoded data

#cloud-config

network:

  version: 2

  config:

  - type: physical

  name: ens192

  subnets:

  - type: static

  address: 192.168.23.14/24

  gateway: 192.168.23.1

  dns_nameservers:

  - 192.168.23.2

  - 8.8.8.8

  dns_search:

  - exemplary.maas

Encoded it to base64

base64 -w0 user-data && echo

But it didn't change anything.
Any help ?

0 Kudos
1 Reply
wila
Immortal
Immortal

Hi,

Sorry to say that this is not a VMware related question.

You are likely to have better luck at an Ubuntu forum.

--

Wil

| Author of Vimalin. The virtual machine Backup app for VMware Fusion, VMware Workstation and Player |
| More info at vimalin.com | Twitter @wilva
0 Kudos