Virtual machine image management tools
salt.modules.img.bootstrap(location, size, fmt)¶HIGHLY EXPERIMENTAL Bootstrap a virtual machine image
CLI 范例:
salt '*' img.bootstrap /srv/salt-images/host.qcow 4096 qcow2
salt.modules.img.mount_image(location)¶Mount the named image and return the mount point
CLI 范例:
salt '*' img.mount_image /tmp/foo
salt.modules.img.umount_image(mnt)¶Unmount an image mountpoint
CLI 范例:
salt '*' img.umount_image /mnt/foo