Skip to content

Commit

Permalink
remove joliet
Browse files Browse the repository at this point in the history
  • Loading branch information
ajanis committed Sep 5, 2024
1 parent 1947d6a commit bc756ee
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 18 deletions.
2 changes: 1 addition & 1 deletion harmonic/scripts/harmonic-install-scripts/harmonic.service
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Wants=network-online.target

[Service]
Type=oneshot
ExecStart=/opt/harmonic-install-setup.sh
ExecStart=/opt/harmonic.service.sh
RemainAfterExit=true
KillMode=process
TasksMax=infinity
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@

echo "====================================================================================="
echo "Harmonic Installer: Setup"
echo "====================================================================================="
echo "Harmonic Installer: Download 'harmonic-installer.sh' from Artifactory"
wget https://artifactory.charterlab.com:443/artifactory/upload/harmonic/scripts/harmonic-installer.sh -O /opt/harmonic-installer.sh
chmod +x /opt/harmonic-installer.sh
echo "====================================================================================="
echo "Harmonic Installer: Running"
/opt/harmonic-installer.sh -vip
echo "====================================================================================="
echo "Harmonic Installer: Complete"
echo "====================================================================================="
echo "Harmonic Installer: Rebooting System"
systemctl --message="Harmonic Post-Install Reboot" reboot
echo "======================================================================================"



systemctl --message="Harmonic Post-Install Reboot" reboot
24 changes: 13 additions & 11 deletions harmonic/scripts/harmonic-install-scripts/user-data-runcmd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,22 @@ users:
- name: ubuntu
lock_passwd: False
password: $6$canonical.$0zWaW71A9ke9ASsaOcFTdQ2tx1gSmLxMPrsH0rF0Yb.2AEKNPV1lrF94n6YuPJmnUy2K2/JSDtxuiBDey6Lpa/
ssh_redirect_user: False
ssh_pwauth: True
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) -----------------"
- echo "====================================================================================="
- echo "Harmonic Installer: Setup"
- echo "====================================================================================="
- echo "Harmonic Installer: Download 'harmonic-installer.sh' from Artifactory"
- 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) -----------------"
- echo "====================================================================================="
- echo "Harmonic Installer: Running"
- 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 ------------------"
- sudo systemctl --message="Harmonic Post-Install Reboot" reboot
- echo "====================================================================================="
- echo "Harmonic Installer: Complete"
- echo "====================================================================================="
- echo "Harmonic Installer: Rebooting System"
- sudo systemctl --message="Harmonic Post-Install Reboot" reboot
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ EOG

xorriso -as mkisofs \
-r -V "ubuntu" \
-J -joliet-long -l -cache-inodes \
-l -cache-inodes \
-b isolinux/isolinux.bin \
-c isolinux/boot.cat \
-no-emul-boot -boot-load-size 4 -boot-info-table \
Expand Down

0 comments on commit bc756ee

Please sign in to comment.