summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorJonathan Bauer2017-05-29 12:38:01 +0200
committerJonathan Bauer2017-05-29 12:38:01 +0200
commit803183707f8059aab28a865d6f980e2b09e23bf8 (patch)
tree56153e9b25106cae94e77df04534b2cd5d5200ec /README.md
parentminor fix (diff)
downloadpacker-templates-803183707f8059aab28a865d6f980e2b09e23bf8.tar.gz
packer-templates-803183707f8059aab28a865d6f980e2b09e23bf8.tar.xz
packer-templates-803183707f8059aab28a865d6f980e2b09e23bf8.zip
minor additions to README
Diffstat (limited to 'README.md')
-rw-r--r--README.md16
1 files changed, 9 insertions, 7 deletions
diff --git a/README.md b/README.md
index 381e437..6c43078 100644
--- a/README.md
+++ b/README.md
@@ -76,18 +76,20 @@ can be discarded. Instead, the base image can be used as the main stage4 image.
## Notes
-Variables set in base.json can be overriden using packer's '-var' options, e.g.:
+Variables set in base.json can be overriden using packer's '-var' options,
+e.g. to disable the headless mode:
```shell
packer build -var-file=base.json -var='headless=true' <template>
```
-Make sure you first include base.json before overriding a variable or it will not work.
+Make sure you first include base.json before overriding a variable defined
+in that file or it will not work.
Partitioning the virtual disk is done during the kickstart/preseed installation.
A simple partition scheme is currently used: a dedicated boot partition and a
-main system partition labeled as SLX_SYS, using ext4 as filesystem. Other
-filesystems are also supported, tested were currently xfs and btrfs. If you
+main system partition labeled as SLX_SYS, using xfs as filesystem. Other
+filesystems are also supported, tested were currently ext4 and btrfs. If you
change the filesystem to use you need to adapt your boot configuration file
-(SLX_MOUNT_ROOT_OPTIONS).
+(SLX_MOUNT_ROOT_OPTIONS). Refer to systemd-init for more infos.
Generated qcow2 image can be further compressed using libvirt tools:
```shell
@@ -132,8 +134,8 @@ make ubuntu-16.04-amd64/base/boot
## Results
Produces:
-* kernel & initramfs in ubuntu-16.04-amd64/base-boot/
-* main qcow2 image under ubuntu-16.04-amd64/base
+* kernel & initramfs in ubuntu-16.04-amd64/base/boot/
+* main qcow2 image under ubuntu-16.04-amd64/base/image
To boot:
* deploy qcow2 image on your dnbd3 server