Skip to content

Make update script more robust for packer build#467

Merged
alexander-dammeier merged 2 commits intodevelopfrom
feature/more_stable_ubuntu_24.04_packer_build
Jan 22, 2025
Merged

Make update script more robust for packer build#467
alexander-dammeier merged 2 commits intodevelopfrom
feature/more_stable_ubuntu_24.04_packer_build

Conversation

@robertauer
Copy link
Copy Markdown
Member

After upgrading to Ubuntu 24.04 the reboot command at the end of the update.sh script does not immediately reboot the machine, which sometimes makes Packer run the next scripts without waiting for the reboot. To prevent this a sleep is added after the reboot command.

After upgrading to Ubuntu 24.04 the reboot command at the end
of the update.sh script does not immediately reboot the machine,
which sometimes makes Packer run the next scripts without
waiting for the reboot. To prevent this a sleep is added after
the reboot command.
Copy link
Copy Markdown
Contributor

@alexander-dammeier alexander-dammeier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I understand the intention. Maybe a loop is better.

Comment thread images/scripts/commons/update.sh Outdated
Co-authored-by: Alexander Dammeier <55015726+alexander-dammeier@users.noreply.github.com>
Copy link
Copy Markdown
Contributor

@alexander-dammeier alexander-dammeier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@alexander-dammeier alexander-dammeier merged commit c60cfcf into develop Jan 22, 2025
@alexander-dammeier alexander-dammeier deleted the feature/more_stable_ubuntu_24.04_packer_build branch January 22, 2025 10:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants