X-Git-Url: https://secure.softndesign.org/git/?a=blobdiff_plain;f=simple-cdd%2Fmyrc.local;h=c47d25dfce89237911753515a39d541d84a81f11;hb=refs%2Ftags%2Fdebian_7.8.1;hp=9c8d58d85970688a9e8c6e19fc6ae8861afd6c14;hpb=1f035dc043d376573efb4057d4a80b0ff2cce474;p=debian6500.git diff --git a/simple-cdd/myrc.local b/simple-cdd/myrc.local index 9c8d58d..c47d25d 100755 --- a/simple-cdd/myrc.local +++ b/simple-cdd/myrc.local @@ -5,7 +5,7 @@ # our own /etc/network/interfaces gets written over for some reason, lets put it back where it belongs echo '(trc6500 first boot) Replacing the /etc/network/interfaces file..' -logger '(trc6500 first boot) Replacing the /etc/network/interfaces file..' +logger -t 'trc6500 first boot' 'Replacing the /etc/network/interfaces file..' rm -f /etc/network/interfaces mv /etc/network/interfaces.original /etc/network/interfaces # interfaces.new was hopefully created during the install, after master.tar was unpacked @@ -13,9 +13,17 @@ mv /etc/network/interfaces.original /etc/network/interfaces echo '(trc6500 first boot) Done replacing interfaces file.' +# we generate the tarballs given to the slave blades here, since if we do it during install they might get "locked" versions of files +echo '(trc6500 first boot) Generating tarballs..' +logger -t 'trc6500 first boot' 'Generating tarballs..' +cd /opt/cluster +make all +echo '(trc6500 first boot) Done generating.' + + # now let's delete this script and replace it with the vanilla one echo '(trc6500 first boot) Replacing this script with original /etc/rc.local..' -logger '(trc6500 first boot) Replacing this script with original /etc/rc.local..' +logger -t 'trc6500 first boot' 'Replacing this script with original /etc/rc.local..' rm -f /etc/rc.local && mv /etc/rc.local.original /etc/rc.local echo '(trc6500 first boot) Done replacing'