]> git.mjollnir.org Git - vserverctl.git/commitdiff
fixes to base to support my setup
authorPenny Leach <penny@catalyst.net.nz>
Tue, 15 Apr 2008 02:57:29 +0000 (14:57 +1200)
committerPenny Leach <penny@catalyst.net.nz>
Tue, 15 Apr 2008 02:57:29 +0000 (14:57 +1200)
profile/base/post-vserver
profile/base/remove-host

index 1be4c9839dd4c57435f29efb966ede1989bff430..1bc42d44dc04460216324cc815c7b5d6304f78f2 100644 (file)
@@ -1,2 +1,3 @@
 echo "${PROFILEOPTION_username}   ALL=(ALL) ALL" >> /etc/sudoers
+DEBIAN_PRIORITY=critical; dpkg-reconfigure locales
 
index 53cf618893763c706aa44cd81a4f8f17f20ce351..590c832a470464db43d2c6fa3ac7f83aaf18085d 100644 (file)
@@ -2,7 +2,9 @@
 grep -v "^${VSIPADDR}" /etc/hosts > /etc/hosts.new
 mv /etc/hosts.new /etc/hosts
 
-USR=$PROFILEOPTION_username
+# this isn't set because we don't pass options to remove
+# USR=$PROFILEOPTION_username
+USR=penny
 
 grep -v "^${VSNAME}" /home/${USR}/.ssh/known_hosts > /home/${USR}/.ssh/known_hosts.new
 chown ${USR}:${USR} /home/${USR}/.ssh/known_hosts.new