[plug] Ubuntu - AutoInstall - Cloud-Init setup
Alex
alex at spottedmouse.com
Wed Jan 13 11:42:51 AWST 2021
Thanks for this. I have tried this, but it didn’t work. I registered on the
ubuntu-users mailing list a couple of days ago, but haven’t been accepted
yet.
Any other suggestions.
Kind regards
Alex
From: Byron Hammond <byronester at gmail.com>
Sent: Thursday, 7 January 2021 20:53
To: Alex <alex at spottedmouse.com>
Subject: Re: [plug] Ubuntu - AutoInstall - Cloud-Init setup
Hi Alex
While I haven't done what you're doing before, from what I gather since the
semicolon finishes a command, you need to escape it.
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/ub
un
tu/config/"
Give it a try and let us know how it goes
Best regards
Byron
from my Tablet
On Thu, 7 Jan. 2021, 6:36 pm Alex, <alex at spottedmouse.com
<mailto:alex at spottedmouse.com> > wrote:
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/ubu
n <http://192.168.0.172/ubuntu/config/>
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
_______________________________________________
PLUG discussion list: plug at plug.org.au <mailto:plug at plug.org.au>
http://lists.plug.org.au/mailman/listinfo/plug
Committee e-mail: committee at plug.org.au <mailto:committee at plug.org.au>
PLUG Membership: http://www.plug.org.au/membership
-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 6522 bytes
Desc: not available
URL: <http://lists.plug.org.au/pipermail/plug/attachments/20210113/d67b3c0c/attachment.bin>
More information about the plug
mailing list