Skip to content

Commit

Permalink
packer DO dev no more
Browse files Browse the repository at this point in the history
  • Loading branch information
laluka committed Nov 20, 2024
1 parent 23c57a2 commit c0684b5
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions packer/lbt-digitalocean.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,6 @@ build {
name = "lalubuntu"
}

# DEV ONLY
# provisioner "file" {
# source = "/opt/lalubuntu"
# destination = "/opt/lalubuntu"
# }

provisioner "shell" {
environment_vars = [
"DEBIAN_FRONTEND=noninteractive",
Expand All @@ -42,7 +36,7 @@ build {
"git clone https://github.com/laluka/lalubuntu",
"mv lalubuntu /opt/lalubuntu",
"cd /opt/lalubuntu",
"git checkout lalu/maj-24.04", # DEV ONLY
# "git checkout lalu/maj-24.04", # DEV ONLY
"bash -x packer/create-user.sh",
"chown -R hacker:hacker /opt/lalubuntu",
"echo \"hacker ALL=(ALL) NOPASSWD: ALL # TMPHACK_INSTALL_ONLY\" | tee -a /etc/sudoers",
Expand Down

0 comments on commit c0684b5

Please sign in to comment.