Skip to content

Commit

Permalink
fix script path
Browse files Browse the repository at this point in the history
  • Loading branch information
ajanis committed Sep 4, 2024
1 parent 6ee1666 commit 1947d6a
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions harmonic/scripts/harmonic-install-scripts/user-data-runcmd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,19 @@ users:
- name: ubuntu
lock_passwd: False
password: $6$canonical.$0zWaW71A9ke9ASsaOcFTdQ2tx1gSmLxMPrsH0rF0Yb.2AEKNPV1lrF94n6YuPJmnUy2K2/JSDtxuiBDey6Lpa/
ssh_redirect_user: False
ssh_pwauth: True
disable_root: False
preserve_hostname: False
ssh_redirect_user: False
ssh_pwauth: True
disable_root: False
preserve_hostname: False
runcmd:
- echo "---------------- Harmonic Installer - Fix root authorized_keys -----------------"
- sudo sed -r -i 's/^.+(ssh-.+)$/\1/' /root/.ssh/authorized_keys
- echo "---------------- Harmonic Installer - Create working directory -----------------"
- echo "---------------- Harmonic Installer - Install Script (DOWNLOAD) -----------------"
- sudo wget https://artifactory.charterlab.com:443/artifactory/upload/harmonic/scripts/harmonic-installer.sh -O /tmp/harmonic-installer.sh
- sudo chmod +x /tmp/harmonic-installer.sh
- sudo wget https://artifactory.charterlab.com:443/artifactory/upload/harmonic/scripts/harmonic-installer.sh -O /opt/harmonic-installer.sh
- sudo chmod +x /opt/harmonic-installer.sh
- echo "---------------- Harmonic Installer - Install Script (RUNNING) -----------------"
- sudo /tmp/harmonic-installer.sh -vip
- sudo /opt/harmonic-installer.sh -vip
- echo "------------------- Harmonic Installer - Install Script (COMPLETED) ------------------"
- sudo wget --no-proxy {{ node_disable_pxe_url | escape.json }} --post-data {{ node_disable_pxe_data|escape.json }} -O /dev/null || true
- echo "------------------- Harmonic Installer - Rebooting System ------------------"
Expand Down

0 comments on commit 1947d6a

Please sign in to comment.