From 81f47f128b0301080cf3a7132aef2def4c7c8539 Mon Sep 17 00:00:00 2001 From: Dieter Plaetinck Date: Mon, 27 Jul 2009 22:50:36 +0200 Subject: separate automatic prefilling of configs with manual editing + enable automatic config updating and grub menu.lst generation in automatic installs --- examples/fancy-install-on-sda | 1 + examples/generic-install-on-sda | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'examples') diff --git a/examples/fancy-install-on-sda b/examples/fancy-install-on-sda index 1322231..19f35fd 100644 --- a/examples/fancy-install-on-sda +++ b/examples/fancy-install-on-sda @@ -19,6 +19,7 @@ worker_intro () { } worker_configure_system () { + prefill_configs sed -i 's/^HOSTNAME="myhost"/HOSTNAME="arch-fancy-install"/' $var_TARGET_DIR/etc/rc.conf } diff --git a/examples/generic-install-on-sda b/examples/generic-install-on-sda index 305bc9a..18dc43a 100644 --- a/examples/generic-install-on-sda +++ b/examples/generic-install-on-sda @@ -5,7 +5,8 @@ SOURCE=cd FILE_URL=file:///src/core/pkg SYNC_URL= - +HARDWARECLOCK=localtime +TIMEZONE=Canada/Pacific # Do you want to have additional pacman repositories or packages available at runtime (during installation)? # RUNTIME_REPOSITORIES = array like this ('name1' 'location of repo 1' ['name2' 'location of repo2',..]) RUNTIME_REPOSITORIES= @@ -24,6 +25,7 @@ worker_intro () { } worker_configure_system () { + prefill_configs sed -i 's/^HOSTNAME="myhost"/HOSTNAME="arch-generic-install"/' $var_TARGET_DIR/etc/rc.conf } -- cgit v1.2.3-54-g00ecf