Commit 4d42c79d authored by Mark Peek's avatar Mark Peek

website: add tip about using apt-get/yum -y to prevent hangs

parent bdace920
...@@ -152,6 +152,11 @@ between dash and bash can be found on the [DashAsBinSh](https://wiki.ubuntu.com/ ...@@ -152,6 +152,11 @@ between dash and bash can be found on the [DashAsBinSh](https://wiki.ubuntu.com/
* See the above tip. More than likely your login shell is using /bin/bash * See the above tip. More than likely your login shell is using /bin/bash
while the provisioner is using /bin/sh. while the provisioner is using /bin/sh.
*My installs hang when using `apt-get` or `yum`*
* Make sure you add a "-y" to the command to prevent it from requiring
user input before proceeding.
*How do I tell what my shell script is doing?* *How do I tell what my shell script is doing?*
* Adding a `-x` flag to the shebang at the top of the script (`#!/bin/sh -x`) * Adding a `-x` flag to the shebang at the top of the script (`#!/bin/sh -x`)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment