=== zerosum2 is now known as zerosum === vlm_ is now known as vlm === vlm_ is now known as vlm [16:59] the 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.04 [16:59] I'm pretty sure cloud-init did it [17:00] what's the right way to undo this? [17:00] I've never used cloud-init before (at least not knowingly) [17:00] AFAIU I ought to create a /etc/cloud/cloud.cfg.d/99_local.cfg with hostname: myhostname.example.com [17:00] and then run something? service cloud-init restart? [17:02] seems to've worked [17:02] but wow /etc/hosts is a mess [23:16] 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:32] Should I prefer the debian 'preseed' methods? I use ubuntu in public clouds, I've never tried to automate installation on my own machines [23:34] jayjo_: the preseedable images won't be available for future releases [23:35] (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:37] jayjo_: 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:57] 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] Do you mean adding via https://wiki.ubuntu.com/Kernel/KernelBootParameters?