[00:42] <superdad17> Hi, i'm wondering, how do you ipxe boot the ubuntu cloud images. Is it possible to do that on your own infrastructure?
[00:44] <sarnold> it should be, after all maas does something very similar
[00:49] <superdad17> I can't seem to find any documentation on it
[00:52] <sarnold> there 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 close
[00:58] <superdad17> So 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] <superdad17> The autoinstall seems to require a disk.
[01:00] <sarnold> ohhhh
[01:01] <superdad17> So 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:03] <superdad17> I 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] <superdad17> https://github.com/mvallim/live-custom-ubuntu-from-scratch
[01:05] <sarnold> superdad17: 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:33] <superdad17> Well, 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 ipxe
[01:33] <sarnold> well, that's something anyway..
[01:35] <superdad17> Ya, 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 nfs
[01:37] <sarnold> superdad17: hmm, you've reminded me of something from a decade ago https://wiki.ubuntu.com/BootToRAM
[01:37] <sarnold> I can't imagine it works exactly as described.. but I wonder how much might still be there
[01:39] <superdad17> sarnold  Ya. thanks. I read that too, but then thought wow, 2011, probably is completely different way of doing it properly these days
[01:40] <sarnold> yeah
[01:44] <superdad17> This looks maybe could be useful, but also somewhat old. https://github.com/medallia/ramroot
[01:44] <superdad17> Thanks for your help sarnold. Just signing off for night
[01:45] <sarnold> superdad17: oh, neat. thanks :) gn8
[23:59] <sarthor> Hi, HELP!! how can I automatically shutdown down ubuntu server after 20 min of powering on, without logging in, , Thanks in advnace.
[23:59] <sarthor> with the help of some script, I think.
[23:59] <sarthor> that will run in startup.