We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 48310a9 commit 0e768b8Copy full SHA for 0e768b8
1 file changed
contrib/rackspace/prepare-rackspace-image.sh
@@ -69,8 +69,15 @@ rm -f /root/.ssh/authorized_keys
69
# ssh host keys are automatically regenerated
70
# on system boot by ubuntu cloud init
71
72
+# remove /etc/chef so contents can't intefere with
73
+# node being converged (i.e. old keys)
74
+rm -f /etc/chef/*
75
+
76
# purge /var/log
77
find /var/log -type f | xargs rm
78
79
+# Sync call needs this package
80
+apt-get -yqq install inotify-tools
81
82
# flush writes to block storage
83
sync
0 commit comments