diff options
author | Dieter Plaetinck <dieter@plaetinck.be> | 2009-07-26 19:39:43 +0200 |
---|---|---|
committer | Dieter Plaetinck <dieter@plaetinck.be> | 2009-07-26 19:39:43 +0200 |
commit | 1fc9253ed27fb628a0e5e731e21c4537902f45b8 (patch) | |
tree | eca7e9372ddfa4d9ff8a83bab9744f3f9a80cbae | |
parent | cb725d11ad80312d9654afaeb6a0906d914eaa66 (diff) |
no more need to actually change HOOKS in mkinitcpio.conf, but may be useful to show replacing stuff in the configure system step
-rw-r--r-- | examples/fancy-install-on-sda | 2 | ||||
-rw-r--r-- | examples/generic-install-on-sda | 4 |
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 |