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 /examples/generic-install-on-sda | |
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
Diffstat (limited to 'examples/generic-install-on-sda')
-rw-r--r-- | examples/generic-install-on-sda | 4 |
1 files changed, 4 insertions, 0 deletions
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 |