@olivierlambert I see the drive attached to the new VM but it is not mounted. After mounting, I can see the contents of cloud-init config and everything looks ok unless I missed something:
drwxr-xr-x 3 root root 16384 Jan 1 1970 ./ drwxr-xr-x 24 root root 4096 May 22 18:58 ../ -rwxr-xr-x 1 root root 50 May 22 18:54 meta-data* -rwxr-xr-x 1 root root 104 May 22 18:54 network-config* drwxr-xr-x 3 root root 2048 May 22 18:54 openstack/ -rwxr-xr-x 1 root root 469 May 22 18:54 user-data* root@cloudbase:/mnt# cat user-data #cloud-config hostname: testingtheothertime0 timezone: America/New_York package_update: true package_upgrade: true packages: - htop - tree - vim - ffmpeg write_files: - content: | network: ethernets: eth0: addresses: - 192.168.0.22/24 gateway4: 192.168.0.1 nameservers: addresses: - 192.168.0.1 version: 2 path: /etc/netplan/00-installer-config.yaml runcmd: - [ netplan, apply ] root@cloudbase:/mnt# cat network-config #network: # version: 1 # config: # - type: physical # name: eth0 # subnets: # - type: dhcproot@cloudbase:/mnt# root@cloudbase:/mnt# cat meta-data instance-id: 3824858a-0679-2863-5416-e03640479e8c root@cloudbase:/mnt#
From the cloud config, the packages were not installed. Also, tried the do the networking in different ways but nothing worked.