1 Reply Latest reply on Aug 9, 2019 8:02 AM by wila

    cloud-init static IP

    bivaswap Lurker

      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 ?

        • 1. Re: cloud-init static IP
          wila Guru
          Community WarriorsUser ModeratorsvExpert

          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 Desktop Products
          | Vimalin : Automated backups for VMware Fusion and VMware Workstation Professional
          | More info at https://www.vimalin.com
          | Twitter @wilva
          | VMware Wiki at http://www.vi-toolkit.com