aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/etc/cloud-init.cfg
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-08-09 09:39:25 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2023-08-09 09:39:25 +0200
commit2f87c729b34153b8244d0c034ba6c361b49bcb1b (patch)
tree942fa91de074d1b0578262d71554870ac98757c9 /etc/cloud-init.cfg
parentmove common config files to etc/ (diff)
downloadinfra-terraform-2f87c729b34153b8244d0c034ba6c361b49bcb1b.tar.gz
infra-terraform-2f87c729b34153b8244d0c034ba6c361b49bcb1b.zip
cloud-init: upgrade packages
Diffstat (limited to '')
-rw-r--r--etc/cloud-init.cfg4
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/cloud-init.cfg b/etc/cloud-init.cfg
index 8ed371c..1de2c42 100644
--- a/etc/cloud-init.cfg
+++ b/etc/cloud-init.cfg
@@ -1,5 +1,9 @@
#cloud-config
+package_update: true
+package_upgrade: true
+package_reboot_if_required: true
+
users:
- name: ${jsonencode(user)}
lock_passwd: false