/srv/irclogs.ubuntu.com/2021/09/23/#ubuntu-server.txt

superdad17Hi, i'm wondering, how do you ipxe boot the ubuntu cloud images. Is it possible to do that on your own infrastructure?00:42
sarnoldit should be, after all maas does something very similar00:44
superdad17I can't seem to find any documentation on it00:49
sarnoldthere may not be dead-simple guides, but between https://ubuntu.com/server/docs/install/netboot-amd64 and https://ubuntu.com/server/docs/install/autoinstall-quickstart I'd hope you could get close00:52
superdad17So I have ipxe booting the autoinstall, and installing ubuntu server to disk. We have servers that don't have hard drives which we would like to run all in memory. That seems to be the hard part.00:58
superdad17The autoinstall seems to require a disk.00:58
sarnoldohhhh01:00
superdad17So the ipxe, with an autoinstall cloud-config works great, installs the server to disk, reboots, and works fantastic. It's just how do you properly ipxe boot ubuntu server into memory, and configure it live.01:01
superdad17I found this which works great. Creates a bootable iso, and I can do boot=casper and ipxe boot the iso into ramdisk. But when the host boots up, for some reason it gets the hostname of just "ubuntu-server", and doesn't get a hostname from the DHCP server like it should.01:03
superdad17https://github.com/mvallim/live-custom-ubuntu-from-scratch01:03
sarnoldsuperdad17: this is probably worth a bug report, I'm not entirely sure where, of course :( but I've been considering machines without disks myself, you and I can't be the only ones that want it :)01:05
superdad17Well, i'm not really sure it is a bug at all. I think it is just me not knowing what I'm doing. One thing I was able to get working is ipxe booting a ubuntu to memory using nfs root in the ipxe01:33
sarnoldwell, that's something anyway..01:33
superdad17Ya, it seems to work well, just doesn't seem as ideal though, as if the NFS goes down, everything locks up. Where if it was booting an image to ram, then there is no dependency on the nfs01:35
sarnoldsuperdad17: hmm, you've reminded me of something from a decade ago https://wiki.ubuntu.com/BootToRAM01:37
sarnoldI can't imagine it works exactly as described.. but I wonder how much might still be there01:37
superdad17sarnold  Ya. thanks. I read that too, but then thought wow, 2011, probably is completely different way of doing it properly these days01:39
sarnoldyeah01:40
superdad17This looks maybe could be useful, but also somewhat old. https://github.com/medallia/ramroot01:44
superdad17Thanks for your help sarnold. Just signing off for night01:44
sarnoldsuperdad17: oh, neat. thanks :) gn801:45
=== genii is now known as genii-core
=== paride4 is now known as paride
=== thegodsquirrel is now known as Wizard
=== Wizard is now known as wizard
=== wizard is now known as thegodsquirrel
=== genii-core is now known as genii
=== Osares100 is now known as Osares10
sarthorHi, HELP!! how can I automatically shutdown down ubuntu server after 20 min of powering on, without logging in, , Thanks in advnace.23:59
sarthorwith the help of some script, I think.23:59
sarthorthat will run in startup.23:59

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