Re: FAI going to the cloud

2016-09-22 Diskussionsfäden Thomas Lange
> On Thu, 22 Sep 2016 17:31:54 -0700, Derek Poon  
> said:

> Instead of fai-diskimage as a separate command, have you considered 
making it a mode of the fai command itself, analogous to `fai dirinstall`?  It 
would be nice to be able to write hooks for diskimage installs.
fai-diskimage is a seperate script which calls "fai install"
internally. You can write hooks for fai-diskinstall the same way as in
fai itself, because it uses the same config space as fai.
-- 
regards Thomas


Re: FAI going to the cloud

2016-09-22 Diskussionsfäden Derek Poon
On Jul 29, 2016, at 7:27 AM, Thomas Lange  wrote:
> 
> A new beta version of FAI is available. It now includes a new command
> for creating cloud^Wdisk images. fai-diskimage can create a raw or
> qcow2 disk image without starting a virtual machine. This image is
> ready-to-boot for your VM or cloud instance. Currently it has no man
> page, but a help is printed when calling with -h.
> 
> I plan to release FAI 5.2 in september, so any feedback is welcome.
> 
> Here's a log from a call of fai-diskimage:
> 
> # fai-diskimage -u cloudhost -S900M 
> -cDEFAULT,DEBIAN,AMD64,FAIBASE,DEMO,GRUB_PC,CLOUD /tmp/disk

Thomas,

Instead of fai-diskimage as a separate command, have you considered making it a 
mode of the fai command itself, analogous to `fai dirinstall`?  It would be 
nice to be able to write hooks for diskimage installs.

Derek Poon
University of British Columbia, IT Services

Re: Customise settings for cryptsetup

2016-09-22 Diskussionsfäden Andrew Ruthven
On Thu, 2016-09-22 at 00:48 +0200, Thomas Lange wrote:
> > 
> > > 
> > > > 
> > > > > 
> > > > > > 
> > > > > > On Thu, 22 Sep 2016 10:39:57 +1200, Andrew Ruthven  > > > > > etc.gen.nz> said:
> 
> > I have a requirement to change some of the settings that are
> passed to
> > cryptsetup. I could add in a createopts similar to the various
> other
> > options what'd allow changing the cipher and size (and whatever
> else).
> > Would this be of interest?
> Sure. I plan to release FAI 5.2 in one week, so if you like to get
> this included, sent a patch soon.

Great, I have a patch that looks legit. I'll test it on some real
hardware tomorrow.

Cheers,
Andrew

-- 
Andrew Ruthven, Wellington, New Zealand
and...@etc.gen.nz | linux.conf.au 2017, Hobart, AU 
  New Zealand's only Cloud:   |   The Future of Open Source
https://catalyst.net.nz/cloud |     http://linux.conf.au