add --kind parameter
replace hostname, remove call to grub-setup, which is apparently no longer needed
remove redundant import