Skip to content

Commit

Permalink
fix ubuntu deprovision and remove lustre client
Browse files Browse the repository at this point in the history
  • Loading branch information
xpillons committed Sep 26, 2023
1 parent 44999b1 commit a3ebfa5
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
5 changes: 3 additions & 2 deletions packer/azhop-compute-ubuntu-18_04.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,12 @@
"/tmp/openpbs.sh || exit 1",
"/tmp/slurm.sh || exit 1",
"/tmp/telegraf.sh || exit 1",
"/tmp/lustreclient.sh b2_14 || exit 1",
"/tmp/zz-compute-custom.sh || exit 1",
"echo ' This is the end '",
"rm -rf /tmp/*.sh",
"/usr/sbin/waagent -force -deprovision+user && export HISTSIZE=0 && sync"
"/usr/sbin/waagent -force -deprovision+user",
"sed -i 's/^send host-name =.*/send host-name = \"\"/' /etc/dhcp/dhclient.conf",
"export HISTSIZE=0 && sync"
],
"inline_shebang": "/bin/sh -x",
"type": "shell",
Expand Down
5 changes: 3 additions & 2 deletions packer/azhop-compute-ubuntu-20_04.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,12 @@
"/tmp/openpbs.sh || exit 1",
"/tmp/slurm.sh || exit 1",
"/tmp/telegraf.sh || exit 1",
"/tmp/lustreclient.sh b2_15 || exit 1",
"/tmp/zz-compute-custom.sh || exit 1",
"echo ' This is the end '",
"rm -rf /tmp/*.sh",
"/usr/sbin/waagent -force -deprovision+user && export HISTSIZE=0 && sync"
"/usr/sbin/waagent -force -deprovision+user",
"sed -i 's/^send host-name =.*/send host-name = \"\"/' /etc/dhcp/dhclient.conf",
"export HISTSIZE=0 && sync"
],
"inline_shebang": "/bin/sh -x",
"type": "shell",
Expand Down
5 changes: 3 additions & 2 deletions packer/azhop-desktop-ubuntu-20_04.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,14 @@
"/tmp/openpbs.sh || exit 1",
"/tmp/slurm.sh || exit 1",
"/tmp/telegraf.sh || exit 1",
"/tmp/lustreclient.sh b2_15 || exit 1",
"/tmp/interactive-desktop-3d.sh || exit 1",
"/tmp/desktop-packages.sh || exit 1",
"/tmp/zz-desktop-custom.sh || exit 1",
"echo ' This is the end '",
"rm -rf /tmp/*.sh",
"/usr/sbin/waagent -force -deprovision+user && export HISTSIZE=0 && sync"
"/usr/sbin/waagent -force -deprovision+user",
"sed -i 's/^send host-name =.*/send host-name = \"\"/' /etc/dhcp/dhclient.conf",
"export HISTSIZE=0 && sync"
],
"inline_shebang": "/bin/sh -x",
"type": "shell",
Expand Down

0 comments on commit a3ebfa5

Please sign in to comment.