summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/fancy-install-on-sda2
-rw-r--r--examples/generic-install-on-sda2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/fancy-install-on-sda b/examples/fancy-install-on-sda
index e094c9f..1322231 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/HOSTNAME="myhost"/HOSTNAME="arch-fancy-install"/' $var_TARGET_DIR/etc/rc.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 d1e79b9..305bc9a 100644
--- a/examples/generic-install-on-sda
+++ b/examples/generic-install-on-sda
@@ -24,7 +24,7 @@ worker_intro () {
}
worker_configure_system () {
- sed -i 's/HOSTNAME="myhost"/HOSTNAME="arch-generic-install"/' $var_TARGET_DIR/etc/rc.conf
+ sed -i 's/^HOSTNAME="myhost"/HOSTNAME="arch-generic-install"/' $var_TARGET_DIR/etc/rc.conf
}