Re: Several Questions
> On Tue, 27 Feb 2018 22:29:37 +1300, Andrew Ruthven> said: > Any chance of setting some default createopts from an environment > variable? I use generic disk_configs, like QEMU_GUEST for any distro if > an VM is being built. It'd be nice to not have to special case all the > Ubuntu >= XENIAL distros. No. Current the only way to do this, is to generate the disk_config on the fly during installation. You may use a hook to call sed for editing your disk_config. -- regards Thomas
Re: Several Questions
On Tue, 2018-02-27 at 09:23 +0100, Thomas Lange wrote: > > > > > > On Mon, 26 Feb 2018 17:40:14 -0800, Bill MacAllister> > > > > ca-zephyr.org> said: > > > prevent fsck from running. Specifically metadata_csum is > preventing > > fsck from running. How would we specify a setup-storage to > create file > > systems without that option? > This is already in FAI since FAI 5.4. Add this into the disk_config > for XENIAL: > createopts="-O ^metadata_csum" Any chance of setting some default createopts from an environment variable? I use generic disk_configs, like QEMU_GUEST for any distro if an VM is being built. It'd be nice to not have to special case all the Ubuntu >= XENIAL distros. Then in my UBUNTU.var file I can set createopts if need be (I set classes like WILY_GT for example, which is an Ubuntu release greater than WILY). Cheers, Andrew -- Andrew Ruthven, Wellington, New Zealand and...@etc.gen.nz | linux.conf.au 2018, Sydney, AU New Zealand's only Cloud: | Just a little bit of history https://catalyst.net.nz/cloud | http://linux.conf.au
Re: Several Questions
> On Mon, 26 Feb 2018 17:40:14 -0800, Bill MacAllister> said: > prevent fsck from running. Specifically metadata_csum is preventing > fsck from running. How would we specify a setup-storage to create file > systems without that option? This is already in FAI since FAI 5.4. Add this into the disk_config for XENIAL: createopts="-O ^metadata_csum" > Creating a standalone CD with a fixed address This can be done in the grub menu of the CD. Like this: ip=192.168.33.250::192.168.33.1:255.255.255.0:faiserver:eth0:off The file /etc/fai/grub.cfg has an entry for setting up a FAI server with a fixed IP address. There you see the syntax. -- regards Thomas