fog / fog-libvirt

libvirt provider for fog
MIT License
16 stars 44 forks source link

Being able to create cloud-init iso using mkisofs #69

Closed jingkaihe closed 3 years ago

jingkaihe commented 4 years ago

MacOS does not support genisoimage. Given the behaviour between mkisofs and genisoimage is identical (on CentOS 8 it's mkisofs is even symlinked to genisoimage), it will really be useful to use mkisofs as a fallback of genisoimage.

Creating domain via cloud-init using mkisofs looks like

server = fog.servers.create(
  name: domain_name,
  cpus: 1,
  memory_size: 2048 * 1024,
  domain_type: 'kvm',
  os_type: 'hvm',
  network_nat_network: 'vm-network',
  volumes: [ new_volume ],
  user_data: user_data,
  geniso_util: 'mkisofs',
)
github-actions[bot] commented 3 years ago

This pr has been marked inactive and will be closed if no further activity occurs.