mirror of
https://github.com/YunoHost/yunohost-ci.git
synced 2024-09-03 20:05:53 +02:00
disable apt-daily
This commit is contained in:
parent
975177ebcc
commit
eee1f84f89
1 changed files with 10 additions and 0 deletions
10
utils.sh
10
utils.sh
|
@ -203,6 +203,16 @@ rebuild_base_containers()
|
||||||
# Run postinstall
|
# Run postinstall
|
||||||
lxc exec "$base_image_to_rebuild-tmp" -- /bin/bash -c "yunohost tools postinstall -d domain.tld -p the_password --ignore-dyndns"
|
lxc exec "$base_image_to_rebuild-tmp" -- /bin/bash -c "yunohost tools postinstall -d domain.tld -p the_password --ignore-dyndns"
|
||||||
|
|
||||||
|
# Disable apt-daily
|
||||||
|
lxc exec "$base_image_to_rebuild-tmp" -- /bin/bash -c "systemctl -q stop apt-daily.timer"
|
||||||
|
lxc exec "$base_image_to_rebuild-tmp" -- /bin/bash -c "systemctl -q stop apt-daily-upgrade.timer"
|
||||||
|
lxc exec "$base_image_to_rebuild-tmp" -- /bin/bash -c "systemctl -q stop apt-daily.service"
|
||||||
|
lxc exec "$base_image_to_rebuild-tmp" -- /bin/bash -c "systemctl -q stop apt-daily-upgrade.service"
|
||||||
|
lxc exec "$base_image_to_rebuild-tmp" -- /bin/bash -c "systemctl -q disable apt-daily.timer"
|
||||||
|
lxc exec "$base_image_to_rebuild-tmp" -- /bin/bash -c "systemctl -q disable apt-daily-upgrade.timer"
|
||||||
|
lxc exec "$base_image_to_rebuild-tmp" -- /bin/bash -c "systemctl -q disable apt-daily.service"
|
||||||
|
lxc exec "$base_image_to_rebuild-tmp" -- /bin/bash -c "systemctl -q disable apt-daily-upgrade.service"
|
||||||
|
|
||||||
rotate_image "$base_image_to_rebuild-tmp" "$base_image_to_rebuild-after-install"
|
rotate_image "$base_image_to_rebuild-tmp" "$base_image_to_rebuild-after-install"
|
||||||
|
|
||||||
lxc stop "$base_image_to_rebuild-tmp"
|
lxc stop "$base_image_to_rebuild-tmp"
|
||||||
|
|
Loading…
Reference in a new issue