=== zerosum2 is now known as zerosum | ||
=== vlm_ is now known as vlm | ||
=== vlm_ is now known as vlm | ||
mgedmin | 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 |
---|---|---|
mgedmin | I'm pretty sure cloud-init did it | 16:59 |
mgedmin | what's the right way to undo this? | 17:00 |
mgedmin | I've never used cloud-init before (at least not knowingly) | 17:00 |
mgedmin | AFAIU I ought to create a /etc/cloud/cloud.cfg.d/99_local.cfg with hostname: myhostname.example.com | 17:00 |
mgedmin | and then run something? service cloud-init restart? | 17:00 |
mgedmin | seems to've worked | 17:02 |
mgedmin | but wow /etc/hosts is a mess | 17: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 machines | 23:32 |
sarnold | jayjo_: the preseedable images won't be available for future releases | 23: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 |
sarnold | 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: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!