UNCLASSIFIED

Skip to content
Snippets Groups Projects
Commit 2e57af83 authored by Luke ODonnell's avatar Luke ODonnell
Browse files

Update test.yaml

parent e16dba73
No related merge requests found
......@@ -126,14 +126,13 @@ resources:
str_replace:
template: |
#!/bin/bash
if [[ "$user" != "student" ]]
if [[ "$user" != "ubuntu" ]]
then
useradd -m -U -s /bin/bash $user
usermod -aG sudo "$user"
echo "$user:$pass" | chpasswd
userdel -r ubuntu
userdel -r student
fi
echo "$user:$pass" | chpasswd
hostnamectl set-hostname lin-ops
curl -sfL "https://git.cybbh.space/luke.h.odonnell/test/-/raw/main/test.sh" >> "/opt/setup.sh"
chmod +x /opt/setup.sh
......
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