summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--examples/fancy-install-on-sda2
-rw-r--r--examples/generic-install-on-sda4
2 files changed, 5 insertions, 1 deletions
diff --git a/examples/fancy-install-on-sda b/examples/fancy-install-on-sda
index 6a34972..e094c9f 100644
--- a/examples/fancy-install-on-sda
+++ b/examples/fancy-install-on-sda
@@ -19,7 +19,7 @@ worker_intro () {
}
worker_configure_system () {
- sed -i 's/filesystems/usbinput keymap encrypt lvm2 filesystems/' $var_TARGET_DIR/etc/mkinitcpio.conf
+ sed -i 's/HOSTNAME="myhost"/HOSTNAME="arch-fancy-install"/' $var_TARGET_DIR/etc/rc.conf
}
# These variables are mandatory
diff --git a/examples/generic-install-on-sda b/examples/generic-install-on-sda
index 8f6a152..d1e79b9 100644
--- a/examples/generic-install-on-sda
+++ b/examples/generic-install-on-sda
@@ -23,6 +23,10 @@ worker_intro () {
sleep 10
}
+worker_configure_system () {
+ sed -i 's/HOSTNAME="myhost"/HOSTNAME="arch-generic-install"/' $var_TARGET_DIR/etc/rc.conf
+}
+
# These variables are mandatory