Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE
/
agent
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
7
Merge Requests
0
Wiki
Members
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
85702c7d
authored
Dec 16, 2014
by
Oliver Pinter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
check for cloud user before adding them
parent
cbbe90ba
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
3 deletions
+10
-3
bootstrap-freebsd.sh
+10
-3
No files found.
bootstrap-freebsd.sh
View file @
85702c7d
...
...
@@ -2,9 +2,16 @@
pkg install
-y
devel/git lang/python devel/py-pip sysutils/screen editors/vim-lite
# create the required backdoor user
pw user add cloud
-m
pw group mod wheel
-m
cloud
grep
"^cloud:"
/etc/passwd
>
/dev/null
ret
=
$?
if
[
$ret
-ne
0
]
then
# create the required backdoor user
pw user add cloud
-m
pw group mod wheel
-m
cloud
fi
exit
if
[
!
-d
/usr/ports
]
then
...
...
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