Skip to content

Commit

Permalink
Change username to defaultuser.
Browse files Browse the repository at this point in the history
  • Loading branch information
kevin1 committed Jan 3, 2018
1 parent 425c48a commit 377bb98
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cloud-init-algo-vpn.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,12 @@ pip install -r requirements.txt
# Update the configuration file
mv config.cfg config_old.cfg

# This awk script replaces any existing users with "Kevin"
# This awk script replaces any existing users with "defaultuser"
set +e
read -d '' awk_filter_users <<"EOF"
!NF {f = 0}
f == 2 {$0 = ""}
f == 1 {$0 = " - kevin"; f = 2}
f == 1 {$0 = " - defaultuser"; f = 2}
/users:/ {f = 1}
1
EOF
Expand Down

0 comments on commit 377bb98

Please sign in to comment.