Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
packer
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kristopher Ruzic
packer
Commits
4d42c79d
Commit
4d42c79d
authored
Aug 29, 2013
by
Mark Peek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
website: add tip about using apt-get/yum -y to prevent hangs
parent
bdace920
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
website/source/docs/provisioners/shell.html.markdown
website/source/docs/provisioners/shell.html.markdown
+5
-0
No files found.
website/source/docs/provisioners/shell.html.markdown
View file @
4d42c79d
...
...
@@ -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
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?*
*
Adding a
`-x`
flag to the shebang at the top of the script (
`#!/bin/sh -x`
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment