From: Penny Leach Date: Tue, 15 Apr 2008 02:57:29 +0000 (+1200) Subject: fixes to base to support my setup X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=bbe1f223ab095988ba3f73f2cae6913b3d6b8f34;p=vserverctl.git fixes to base to support my setup --- diff --git a/profile/base/post-vserver b/profile/base/post-vserver index 1be4c98..1bc42d4 100644 --- a/profile/base/post-vserver +++ b/profile/base/post-vserver @@ -1,2 +1,3 @@ echo "${PROFILEOPTION_username} ALL=(ALL) ALL" >> /etc/sudoers +DEBIAN_PRIORITY=critical; dpkg-reconfigure locales diff --git a/profile/base/remove-host b/profile/base/remove-host index 53cf618..590c832 100644 --- a/profile/base/remove-host +++ b/profile/base/remove-host @@ -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