Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions modules/ROOT/pages/bare-metal.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,8 @@ NOTE: You can install in either legacy boot (BIOS) mode or in UEFI mode, regardl
. From the boot menu, press `<TAB>` (isolinux) or `e` (grub) to edit the kernel command line.
. Add the following parameters to the kernel command line:
* `coreos.inst.install_dev=/dev/sda`
* `coreos.inst.stream=testing`
* `coreos.inst.stream=stable`
* `coreos.inst.ignition_url=http://example.com/config.ign`
* `coreos.inst.platform_id=qemu`
. Press `<ENTER>` (isolinux) or `<CTRL-x>` (grub) to start the installation.

Once the installation is complete, the machine reboots. After rebooting, the first boot process begins. It is at this time that Ignition ingests the configuration file and provisions the system as specified.
Expand All @@ -46,8 +45,8 @@ TIMEOUT 20
PROMPT 0
LABEL pxeboot
KERNEL fedora-coreos-30.20191014.1-live-kernel-x86_64
APPEND ip=dhcp rd.neednet=1 initrd=fedora-coreos-30.20191014.1-live-initramfs.x86_64.img console=tty0 console=ttyS0 coreos.inst.install_dev=/dev/sda coreos.inst.stream=testing coreos.inst.ignition_url=http://192.168.1.101:8000/config.ign
APPEND ip=dhcp rd.neednet=1 initrd=fedora-coreos-30.20191014.1-live-initramfs.x86_64.img console=tty0 console=ttyS0 coreos.inst.install_dev=/dev/sda coreos.inst.stream=stable coreos.inst.ignition_url=http://192.168.1.101:8000/config.ign
IPAPPEND 2
----

For more details on how to use this information, see the https://dustymabe.com/2019/01/04/easy-pxe-boot-testing-with-only-http-using-ipxe-and-libvirt/[instructions] for testing a PXE installation via a local VM and `libvirt`.
For more details on how to use this information, see this https://dustymabe.com/2019/01/04/easy-pxe-boot-testing-with-only-http-using-ipxe-and-libvirt/[blog post] for testing a PXE installation via a local VM and `libvirt`.
2 changes: 1 addition & 1 deletion modules/ROOT/pages/getting-started.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ qemu-system-x86_64 -machine accel=kvm -m 2048 -cpu host -nographic \
.Example launching FCOS with virt-install
[source, bash]
----
virt-install -n fcos --vcpus 2 -r 2048 --os-variant=fedora30 --import --network bridge=virbr0 --disk=/var/lib/libvirt/images/fedora-coreos-30.20190905.0-qemu.qcow2,format=qcow2,bus=virtio --noautoconsole --qemu-commandline="-fw_cfg name=opt/com.coreos/config,file=/path/to/example.ign"
virt-install -n fcos --vcpus 2 -r 2048 --os-variant=fedora31 --import --network bridge=virbr0 --disk=/var/lib/libvirt/images/fedora-coreos-30.20190905.0-qemu.qcow2,format=qcow2,bus=virtio --noautoconsole --qemu-commandline="-fw_cfg name=opt/com.coreos/config,file=/path/to/example.ign"
----
+
Once the VM has finished booting, its IP addresses will appear on the serial console.
Expand Down
2 changes: 1 addition & 1 deletion modules/ROOT/pages/ign-systemd.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ The `systemd` node of an FCC file allows you to add and configure https://www.fr

The `systemd` node contains one top-level node: a list of units. For each unit, the following options are available:

* `name` (string, required, must be unique): the full name of the unit the form of `thing.service`.
* `name` (string, required, must be unique): the full name of the unit in the form of `thing.service`.
* `enabled` (boolean): When set to `true`, the unit is enabled. By default, the service is unmodified. For a unit to run, it must have an `[Install]` section.
* `mask` (boolean): determines whether the unit is masked. When set to `true`, the service is masked by a symlink to `/dev/null`.
* `contents` (string): the contents of the unit.
Expand Down