From 6941f72b216feda4bfb206bf71c921c8b8a994fd Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Wed, 28 Aug 2013 10:46:45 -0700 Subject: [PATCH] website: document shuting down network interfaces for reboot --- website/source/docs/provisioners/shell.html.markdown | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/website/source/docs/provisioners/shell.html.markdown b/website/source/docs/provisioners/shell.html.markdown index dd49e7d80..f99178198 100644 --- a/website/source/docs/provisioners/shell.html.markdown +++ b/website/source/docs/provisioners/shell.html.markdown @@ -128,6 +128,15 @@ reboot sleep 60 ``` +Some OS configurations don't properly kill all network connections on +reboot, causing the provisioner to hang despite a reboot occuring. +In this case, make sure you shut down the network interfaces +on reboot or in your shell script. For example, on Gentoo: + +``` +/etc/init.d/net.eth0 stop +``` + ## Troubleshooting *My shell script doesn't work correctly on Ubuntu*