[plug] Ubuntu - AutoInstall - Cloud-Init setup

Alex alex at spottedmouse.com
Thu Jan 7 18:36:06 AWST 2021


I am trying to setup a number of new servers on Ubuntu 20.4 LTS. So far I
got the auto-install via PXE working. 

 

My plan is to use autoinstall for the basic setup to install the OS,
partition table and initial user.

 

Once installed I was hoping to use something like clout-init / nocloud to
install the customisation need to security and monitoring. Ideally I was
just hoping to connect it to chef using cloud-init.

 

However I have not been able to get cloud-init / nocloud-net datasource
working. 

 

Tried updating /etc/default/grub with the following

Code:

GRUB_DEFAULT=0

#GRUB_TIMEOUT_STYLE=hidden

GRUB_TIMEOUT=30

GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`

GRUB_CMDLINE_LINUX_DEFAULT="serial=ds=nocloud-net;seedfrom=http://192.168.0.
172/ubuntu/config/"

GRUB_CMDLINE_LINUX="serial=ds=nocloud-net;seedfrom=http://192.168.0.172/ubun
tu/config/"

 

Can any of my fellow pluggers point me in the right direction on how to get
nocloud-net working ?

 

No matter what I try it always reports:

 

root at ubuntu-base:/home/user# cloud-init status --long
status: done
time: Wed, 06 Jan 2021 09:53:14 +0000
detail:
DataSourceNone

 

And the httpd host which provides the configuration files is never accessed.

 

Kind regards

Alex

-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 4566 bytes
Desc: not available
URL: <http://lists.plug.org.au/pipermail/plug/attachments/20210107/e9dcd695/attachment.bin>


More information about the plug mailing list