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
61c95732
Commit
61c95732
authored
Jan 20, 2015
by
Misha Brukman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
provisioner/shell: Added punctuation.
parent
239bdcef
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
website/source/docs/provisioners/shell.html.markdown
website/source/docs/provisioners/shell.html.markdown
+3
-3
No files found.
website/source/docs/provisioners/shell.html.markdown
View file @
61c95732
...
@@ -148,15 +148,15 @@ on reboot or in your shell script. For example, on Gentoo:
...
@@ -148,15 +148,15 @@ on reboot or in your shell script. For example, on Gentoo:
*My shell script doesn't work correctly on Ubuntu*
*My shell script doesn't work correctly on Ubuntu*
*
On Ubuntu the
`/bin/sh`
shell is
*
On Ubuntu
,
the
`/bin/sh`
shell is
[
dash
](
http://en.wikipedia.org/wiki/Debian_Almquist_shell
)
. If your script has
[
dash
](
http://en.wikipedia.org/wiki/Debian_Almquist_shell
)
. If your script has
[
bash
](
http://en.wikipedia.org/wiki/Bash_(Unix_shell
)
)
specific commands in it
[
bash
](
http://en.wikipedia.org/wiki/Bash_(Unix_shell
)
)
-specific commands in it,
then put
`#!/bin/bash`
at the top of your script. Differences
then put
`#!/bin/bash`
at the top of your script. Differences
between dash and bash can be found on the
[
DashAsBinSh
](
https://wiki.ubuntu.com/DashAsBinSh
)
Ubuntu wiki page.
between dash and bash can be found on the
[
DashAsBinSh
](
https://wiki.ubuntu.com/DashAsBinSh
)
Ubuntu wiki page.
*My shell works when I login but fails with the shell provisioner*
*My shell works when I login but fails with the shell provisioner*
*
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`*
*My installs hang when using `apt-get` or `yum`*
...
...
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