summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDieter Plaetinck <dieter@plaetinck.be>2008-12-20 15:27:25 +0100
committerDieter Plaetinck <dieter@plaetinck.be>2008-12-20 15:27:25 +0100
commit0111fdd1d6dbf6c988eb9a742f4934ead887d2d6 (patch)
treef580a22dece700f0ba536bbeefe4d74443eac613
parented462dc0f0ec6b4e60b5d1299dc858fa6b19978c (diff)
probably its better to only use svn after we installed it
-rw-r--r--examples/deployconfig-dieter3
-rw-r--r--src/core/procedures/automatic8
2 files changed, 8 insertions, 3 deletions
diff --git a/examples/deployconfig-dieter b/examples/deployconfig-dieter
index b7af73a..1c334a2 100644
--- a/examples/deployconfig-dieter
+++ b/examples/deployconfig-dieter
@@ -14,9 +14,8 @@ phase_system+=(configure_home)
-worker_configure ()
+worker_fetch_configs ()
{
- var_UI_TYPE=${arg_ui_type:-cli}
svn export $SVN_BASE/ddm-configs/$TARGET_HOST/trunk/disks/.blockdata $RUNTIME_DIR || die_error "Could not svn export $SVN_BASE/ddm-configs/$TARGET_HOST/trunk/disks/.blockdata into $RUNTIME_DIR"
svn export $SVN_BASE/ddm-configs/$TARGET_HOST/trunk/disks/.partitions $RUNTIME_DIR || die_error "Could not svn export $SVN_BASE/ddm-configs/$TARGET_HOST/trunk/disks/.partitions into $RUNTIME_DIR"
}
diff --git a/src/core/procedures/automatic b/src/core/procedures/automatic
index e2e4b00..3f02832 100644
--- a/src/core/procedures/automatic
+++ b/src/core/procedures/automatic
@@ -13,7 +13,7 @@ var_ARGS_USAGE="-c <config>: Specify a configfile (profile) to be used (optional
phase_preparation+=(runtime_settings)
phase_preparation+=(msg_automatic) # this can happen probably a bit earlier..
-
+phase_preparation+=(fetch_configs)
process_args ()
{
if [ "$1" = '-c' ]
@@ -52,6 +52,12 @@ worker_msg_automatic ()
}
+worker_fetch_configs ()
+{
+ true
+}
+
+
worker_runtime_network ()
{
if ask_yesno "Do you want to (re)-configure your networking?"