Skip to content

Commit

Permalink
WIP: Attempt to make cloud-init work with mkosi based on Magnus' inve…
Browse files Browse the repository at this point in the history
…stigations
  • Loading branch information
stevenhorsman committed Nov 25, 2024
1 parent e6afdfd commit 7d148fe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ enable systemd-networkd.socket
enable systemd-resolved.service
enable dbus.service
enable afterburn-checkin.service
enable cloud-init.service

# For debug images.
# This units are not part of the production image.
Expand Down
2 changes: 1 addition & 1 deletion src/cloud-providers/libvirt/libvirt.go
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ func createDomainXMLx86_64(client *libvirtClient, cfg *domainConfig, vm *vmConfi
Source: &libvirtxml.DomainDiskSource{
File: &libvirtxml.DomainDiskSourceFile{File: cfg.cidataDisk},
},
Target: &libvirtxml.DomainDiskTarget{Dev: "hda", Bus: "ide"},
Target: &libvirtxml.DomainDiskTarget{Dev: "sdb", Bus: "scsi"},
ReadOnly: &libvirtxml.DomainDiskReadOnly{},
Address: &libvirtxml.DomainAddress{
Drive: &libvirtxml.DomainAddressDrive{
Expand Down

0 comments on commit 7d148fe

Please sign in to comment.