Fixes
This commit is contained in:
parent
3e0c3b4f67
commit
28eaa8e4cc
1 changed files with 2 additions and 2 deletions
|
@ -171,8 +171,8 @@ chroot "${MOUNTPOINT}" /bin/bash -c "git -C /srv/ansible/playbooks pull" || syst
|
||||||
if $SYSUPGRADE; then
|
if $SYSUPGRADE; then
|
||||||
subtaskTitle "Update release information"
|
subtaskTitle "Update release information"
|
||||||
chroot "${MOUNTPOINT}" /bin/bash -c "grep -E '(main|community)' /etc/apk/repositories | sed \"s|$(yq .ungrouped.vars.alpine_version /srv/ansible/inventory.yml)|$NEW_ALPINE_RELEASE|\" > /etc/apk/repositories"
|
chroot "${MOUNTPOINT}" /bin/bash -c "grep -E '(main|community)' /etc/apk/repositories | sed \"s|$(yq .ungrouped.vars.alpine_version /srv/ansible/inventory.yml)|$NEW_ALPINE_RELEASE|\" > /etc/apk/repositories"
|
||||||
chroot "${MOUNTPOINT}" /bin/bash -c "yq -i '.ungrouped.vars.release_version = $NEW_NOVOS_RELEASE' /srv/ansible/inventory.yml"
|
chroot "${MOUNTPOINT}" /bin/bash -c 'yq -i .ungrouped.vars.release_version = \"'$NEW_NOVOS_RELEASE'\" /srv/ansible/inventory.yml'
|
||||||
chroot "${MOUNTPOINT}" /bin/bash -c "yq -i '.ungrouped.vars.alpine_version = \"$NEW_ALPINE_RELEASE\"' /srv/ansible/inventory.yml"
|
chroot "${MOUNTPOINT}" /bin/bash -c 'yq -i .ungrouped.vars.alpine_version=\"'$NEW_ALPINE_RELEASE'\" /srv/ansible/inventory.yml'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
subtaskTitle "Update bootloader configs"
|
subtaskTitle "Update bootloader configs"
|
||||||
|
|
Loading…
Reference in a new issue