=== zerosum2 is now known as zerosum
=== vlm_ is now known as vlm
=== vlm_ is now known as vlm
mgedminthe hostname of my VPS switched from what I set it to (via hostnamectl and vi /etc/hosts) back to vps123456 during the upgrade from 18.04 to 20.0416:59
mgedminI'm pretty sure cloud-init did it16:59
mgedminwhat's the right way to undo this?17:00
mgedminI've never used cloud-init before (at least not knowingly)17:00
mgedminAFAIU I ought to create a /etc/cloud/cloud.cfg.d/99_local.cfg with hostname: myhostname.example.com17:00
mgedminand then run something?  service cloud-init restart?17:00
mgedminseems to've worked17:02
mgedminbut wow /etc/hosts is a mess17:02
jayjo_The ubuntu server docs seem to indicate that autoinstall in 20.04 LTS is for VM installations (https://ubuntu.com/server/docs/install/autoinstall-quickstart). Is there a way to automate an installation from a USB drive?23:16
jayjo_Should I prefer the debian 'preseed' methods? I use ubuntu in public clouds, I've never tried to automate installation on my own machines23:32
sarnoldjayjo_: the preseedable images won't be available for future releases23:34
sarnold(and even though they were built for 20.04, I don't think they received any testing at all; they were a side effect of the build process and were released as an untested 'hopefully helpful' kind of thing, I think)23:35
sarnoldjayjo_: don't think anything on that autoinstall quickstart guide is too specific to VMs -- just that kvm line. You can add the same 'autoinstall ds=nocloud-net;s=http://something/' line to the kernel command line during the normal server bootup, no?23:37
jayjo_the quickstart guide sets up a python server on a LAN machine that can serve the cloud-init data. Can that configuration be on the USB drive, either on another partition, or can I modify the bootable part of the drive?23:57
jayjo_Do you mean adding via https://wiki.ubuntu.com/Kernel/KernelBootParameters?23:57

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!