Custom Boot Image
In fog version 0.32, I had modified init.gz to create a custom input option for auto registration. I would like to do the same for version 1.0.1 but am having trouble with the new init.xz file. I’ve edited FOGMountBootImage to reflect the new file location and to use xz instead of gzip and I attached what I’ve done below.
My problem is when I go to boot a machine, I get a message saying:
“Input was encoded with settings that are not supported by the XZ decoder”
I’m guessing I need to add more options to the command to recreate the compressed file, but I’m not sure what to add?
Update: I got it to work.
The command to create the init.xz file is this:
xz -C crc32 -z -c init > init.xz
I found the answer right here in the forum: http://fogproject.org/forum/threads/latest-fog-0-33b.6476/page-30