No description, website, or topics provided.
Python
Pull request Compare This branch is 4 commits ahead of calfonso:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Makefile
README
before_vm_migrate_destination.py
before_vm_start.py
sudoers.vdsm_hook_floppyinject
vdsm-hook-floppyinject.spec

README

floppyinject vdsm hook
======================
Hook create a floppy disk on the fly with user provided content.
ie. user supply file name and file content and hooks will create
floppy disk on destination host, will mount it as floppy disk - 
and will handle migration.
giving the input "myfile.vfd=data" will create a floppy with single
file name myfile.vfd and the file content will be "data"

syntax:
floppyinject=myfile.txt:<file content>

libvirt:
<disk type='file' device='floppy'>
    <source file='/tmp/my.vfd'/>
    <target dev='fda' />
</disk>

Note:
    some linux distro need to load the floppy disk kernel module:
    # modprobe floppy