summaryrefslogtreecommitdiffstats
path: root/vagrant/lib/system_reseal.sh
diff options
context:
space:
mode:
authorC.J. Collier <cjcollier@linuxfoundation.org>2016-05-16 13:27:08 -0700
committerC.J. Collier <cjcollier@linuxfoundation.org>2016-05-16 20:49:13 +0000
commite44de7e68c15be32c9f391265f69d99d324a8b2f (patch)
treeb3830bdbd21af3bc2d0902b5739d554b7310c492 /vagrant/lib/system_reseal.sh
parent09963646f9b181f697dae472e6b04fb58125d758 (diff)
Correct init script to use sysv on 14.04
condition wrapped around code Change-Id: I27a426504fe5786e9a45d7145d9c3332b4542860 Signed-off-by: C.J. Collier <cjcollier@linuxfoundation.org>
Diffstat (limited to 'vagrant/lib/system_reseal.sh')
-rw-r--r--vagrant/lib/system_reseal.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/vagrant/lib/system_reseal.sh b/vagrant/lib/system_reseal.sh
index 566294a66..6c7aa4d52 100644
--- a/vagrant/lib/system_reseal.sh
+++ b/vagrant/lib/system_reseal.sh
@@ -38,7 +38,7 @@ rm -rf /etc/Pegasus/*.cnf /etc/Pegasus/*.crt /etc/Pegasus/*.csr \
/var/log/secure* /var/log/setroubleshoot/*.log \
/var/log/spooler* /var/log/squid/*.log /var/log/syslog* \
/var/log/tallylog* /var/log/tuned/tuned.log /var/log/wtmp* \
- /var/named/data/named.run /var/lib/dpkg/lock
+ /var/named/data/named.run
rm -rf ~/.viminfo /etc/ssh/ssh*key* ~/.ssh/* /root/.ssh/*
@@ -56,3 +56,5 @@ sleep 10
echo "********************************************"
echo "* PLEASE SNAPSHOT IMAGE AT THIS TIME *"
echo "********************************************"
+init 1
+sleep 10