summaryrefslogtreecommitdiff
path: root/examples/fancy-install-on-sda
diff options
context:
space:
mode:
authorDieter Plaetinck <dieter@plaetinck.be>2009-07-26 20:33:18 +0200
committerDieter Plaetinck <dieter@plaetinck.be>2009-07-26 20:33:18 +0200
commit3068d1897445701a7023606a8c708095803301b6 (patch)
tree51543c58c651515451f77156d44893bdd88cfc85 /examples/fancy-install-on-sda
parent9764526b049561ae71b791f790b984baaa364f81 (diff)
make some seds more robust
Diffstat (limited to 'examples/fancy-install-on-sda')
-rw-r--r--examples/fancy-install-on-sda2
1 files changed, 1 insertions, 1 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