Skip to content

Commit

Permalink
minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Lange committed Oct 9, 2016
1 parent 179bc7e commit e9c37f1
Showing 1 changed file with 15 additions and 10 deletions.
25 changes: 15 additions & 10 deletions man/fai-diskimage.8
Expand Up @@ -8,14 +8,20 @@ fai-diskimage \- create a disk image for booting a VM
.SH DESCRIPTION
.B fai-diskimage
creates a disk image that can be used with Qemu/KVM, VirtualBox,
VMware, Xen or by your cloud infrastructure. It runs runs the Fully
VMware, Xen or by your cloud infrastructure. It runs the Fully
Automatic Installation using a list of FAI classes. In the end you
have a bootable disk image.
.SH OPTIONS
.TP
.B \-c, --class \fICLASS\fR[,\fICLASS\fR]
Define list of FAI classes
.TP
.B -D, --debug
Enter debugging after the FAI process has finished. Therefore the
fai-diskimage script is stopped and you may enter the chroot for
debugging purpose. When finished, leave the chroot and send a CONT
signal for resuming the fai-diskimage script.
.TP
.B -h, --help
Print help
.TP
Expand All @@ -31,27 +37,26 @@ Set hostname to name
.TP
.B -v, --verbose
Be verbose
.TP
.B -D, --debug
Enter debugging after the FAI process has finished. Therefore the
fai-diskimage script is stopped and you may enter the chroot for
debugging purpose. When finished, leave the chroot and send a CONT
signal to continue the fai-diskimage script.

.SH EXAMPLES

fai-diskimage -u cloud3 -S2G -cDEBIAN,AMD64,FAIBASE,GRUB_PC,CLOUD disk.raw
# fai-diskimage -u cloud3 -S2G -cDEBIAN,AMD64,FAIBASE,GRUB_PC,CLOUD,GCE disk.raw

Creates a Debian system with a small set of software packages without
graphical desktop. The disk image disk.raw will be of size 2 GB and
the host ist called cloud3.


cl=DEFAULT,DHCPC,DEBIAN,AMD64,FAIBASE,DEMO,GRUB_PC,UBUNTU,XENIAL,XENIAL64,XORG
fai-diskimage -v -u cloudhost -S5G -c$cl ubuntu.qcow2
# cl=DEFAULT,DHCPC,DEBIAN,AMD64,FAIBASE,DEMO,GRUB_PC,UBUNTU,XENIAL,XENIAL64,XORG
# fai-diskimage -v -u cloudhost -S5G -c$cl ubuntu.qcow2

Creates a disk image of size 5GB called ubuntu.qcow2 for a Ubuntu 16.04 desktop.

.SH NOTES
fai-diskimage is not limited to creating images for virtual
machines. The raw images can also be copies (via dd) onto a real disk
for booting bare metal hosts.

.SH SEE ALSO
.br
This program is part of FAI (Fully Automatic Installation). See the FAI manual
Expand Down

0 comments on commit e9c37f1

Please sign in to comment.