bundles/apt: fix statusfile output of unattended upgrades
All checks were successful
bundlewrap/pipeline/head This commit looks good
All checks were successful
bundlewrap/pipeline/head This commit looks good
This commit is contained in:
parent
7631ff9a5e
commit
1d450b9829
2 changed files with 5 additions and 3 deletions
|
@ -41,10 +41,12 @@ trap 'rm -f "$softlockdir"/UNATTENDED' EXIT
|
||||||
DEBIAN_FRONTEND=noninteractive apt-get -y -q -o Dpkg::Options::=--force-confold -o Dpkg::Options::=--force-confdef dist-upgrade
|
DEBIAN_FRONTEND=noninteractive apt-get -y -q -o Dpkg::Options::=--force-confold -o Dpkg::Options::=--force-confdef dist-upgrade
|
||||||
)
|
)
|
||||||
ret=$?
|
ret=$?
|
||||||
|
|
||||||
|
echo "apt-get dist-upgrade exited $ret"
|
||||||
|
echo "$ret" > "$statusfile"
|
||||||
|
|
||||||
if (( $ret != 0 ))
|
if (( $ret != 0 ))
|
||||||
then
|
then
|
||||||
echo "apt-get dist-upgrade exited $ret"
|
|
||||||
echo "$ret" > "$statusfile"
|
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -324,7 +324,7 @@ nodes['htz.ex42-1048908'] = {
|
||||||
'password': vault.decrypt('encrypt$gAAAAABfp7qzym32R6Go1A6oax0NGQM7EBMckbEbnZC6-RSKx-klSJsL57XbSUTD-AJM-gBIPzlmor-3bfVxPWLRYXtO8uTVw6jNQ1yt15ReHkOTijVqV2ACk-LTDBG3p4YKBn0pQgNvvjXhWV_J1-Pgjywbl4sHXc0zqjCGZ6xtEn6ywj0Pd599JJjREF4QCIFVZVWuKvo1'),
|
'password': vault.decrypt('encrypt$gAAAAABfp7qzym32R6Go1A6oax0NGQM7EBMckbEbnZC6-RSKx-klSJsL57XbSUTD-AJM-gBIPzlmor-3bfVxPWLRYXtO8uTVw6jNQ1yt15ReHkOTijVqV2ACk-LTDBG3p4YKBn0pQgNvvjXhWV_J1-Pgjywbl4sHXc0zqjCGZ6xtEn6ywj0Pd599JJjREF4QCIFVZVWuKvo1'),
|
||||||
},
|
},
|
||||||
'travelynx': {
|
'travelynx': {
|
||||||
'version': '1.18.9',
|
'version': '1.18.10',
|
||||||
'mail_from': 'travelynx@franzi.business',
|
'mail_from': 'travelynx@franzi.business',
|
||||||
},
|
},
|
||||||
'users': {
|
'users': {
|
||||||
|
|
Loading…
Reference in a new issue