change fileserver host
[distro-setup] / distro-begin
index 1c15acf25725d080de5f286e6b7dcda6affab34d..f61b2f17f45ed0727070330a0cc8d4d026626663 100755 (executable)
@@ -213,7 +213,7 @@ lnf ${opts[@]} "$1" /home/traci/$2
 EOF
 }
 
-for x in /a/c/repos/bash/!(.git); do
+for x in /a/c/repos/bash/!(.git|..|.); do
     lnf-home "$x"
     sudo -i <<EOF
 PATH="/a/exe:$PATH"
@@ -582,17 +582,17 @@ tu /etc/fstab <<'EOF'
 /i/k  /k  none  bind  0 0
 EOF
 
-if ! mountpoint /kfrodo; then
-    s mkdir -p /kfrodo
-    s chown ian:traci /kfrodo
+if ! mountpoint /kr; then
+    s mkdir -p /kr
+    s chown ian:traci /kr
 fi
-if [[ $HOSTNAME == frodo ]]; then
+if [[ $HOSTNAME == treetowl ]]; then
     tu /etc/fstab <<'EOF'
-/k  /kfrodo  none  bind  0 0
+/k  /kr  none  bind  0 0
 EOF
 else
     tu /etc/fstab <<'EOF'
-frodo:/k  /kfrodo  nfs  defaults  0 0
+treetowl:/k  /kr  nfs  defaults  0 0
 EOF
 fi
 
@@ -699,7 +699,7 @@ fi
 # using debconf-set-selection, the area gets reset to ETC
 # on my linode test machine after doing a dpkg-reconfigure, or a reinstall,
 # so we are using expect :(
-apt-get install --no-install-recommends expect
+s apt-get -y install --no-install-recommends expect
 s expect <<EOF
 set force_conservative 0
 spawn dpkg-reconfigure tzdata -freadline