From f925693350718937ca3f6c093bc9b2272f3218c7 Mon Sep 17 00:00:00 2001 From: LaMont Jones Date: Sat, 5 Mar 2005 22:54:20 +0000 Subject: [PATCH] brutalize postfix to get rid of the last of the hostname occurances --- livecd.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/livecd.sh b/livecd.sh index 94390fb8..c97a6bca 100755 --- a/livecd.sh +++ b/livecd.sh @@ -204,7 +204,10 @@ deb-src http://security.ubuntu.com/ubuntu ${STE}-security main restricted rm -f ${ROOT}var/lib/apt/lists/*_* rm -f ${ROOT}var/spool/postfix/maildrop/* chroot $ROOT apt-get update || true # give them fresh lists, but don't fail - rm ${ROOT}etc/resolv.conf + rm ${ROOT}etc/resolv.conf ${ROOT}etc/mailname + sed -i '/^myhostname/d; /^mydestination/d' ${ROOT}etc/postfix/main.cf + echo set postfix/destinations | chroot ${ROOT}/usr/bin/debconf-communicate postfix + echo set postfix/mailname | chroot ${ROOT}/usr/bin/debconf-communicate postfix chroot ${ROOT} dpkg-query -W --showformat='${Package} ${Version}\n' > livecd.${FS}.manifest mkdir -p livecd.mnt