summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2020-05-25 11:26:16 +0300
committerLars Wirzenius <liw@liw.fi>2020-05-25 11:26:16 +0300
commitfb939a1e41984ab6ea503f94bb1f1d6cf735ffda (patch)
tree96c23fdf405be003f4adae6c995ee0971ce5b0eb
parentb42511b6cf58a20305ccc2faf361126983126c47 (diff)
downloadvmdb2-fb939a1e41984ab6ea503f94bb1f1d6cf735ffda.tar.gz
doc: add setting of hostname to examples
-rw-r--r--pc.vmdb1
-rw-r--r--uefi.vmdb4
2 files changed, 5 insertions, 0 deletions
diff --git a/pc.vmdb b/pc.vmdb
index 7b90995..f6d44e0 100644
--- a/pc.vmdb
+++ b/pc.vmdb
@@ -39,6 +39,7 @@ steps:
- chroot: /
shell: |
+ echo pc > /etc/hostname
apt -y install python
- fstab: /
diff --git a/uefi.vmdb b/uefi.vmdb
index 853d624..9a1d87f 100644
--- a/uefi.vmdb
+++ b/uefi.vmdb
@@ -48,6 +48,10 @@ steps:
- cache-rootfs: /
unless: rootfs_unpacked
+ - chroot: /
+ shell: |
+ echo uefi-vmdb2 > /etc/hostname
+
- fstab: /
- grub: uefi