Skip to content

Commit 74233a2

Browse files
committed
Fix: Add qemu guest tools by default on normal/gpu instances.
1 parent 2154ceb commit 74233a2

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

src/aleph/vm/controllers/firecracker/instance.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,13 @@ def _encode_user_data(self) -> bytes:
151151
"ssh_authorized_keys": ssh_authorized_keys,
152152
# Avoid the resize error because we already do it on the VM disk creation stage
153153
"resize_rootfs": False,
154+
"package_update": True,
155+
"packages": [
156+
"qemu-guest-agent"
157+
],
158+
"runcmd": [
159+
"systemctl start qemu-guest-agent.service"
160+
]
154161
}
155162

156163
cloud_config_header = "#cloud-config\n"

0 commit comments

Comments
 (0)