I know this is slightly off-topic but it comes back around to PowerCLI.
Does anyone know of away to either create or mount a .flp file on a Windows system so I can inject a file into it and then copy it up to a VM?
This is for a new unattended install and the customization specs are for systems that are sysprepped. I want to query the user for a key and inject the Windows answer file with it and then upload the floppy and power on the VM. If you know of a better way, please let me know!
thanks,
mike
VFD can create floppies for you --
http://chitchat.at.infoseek.co.jp/vmware/vfd.html
Extract zip file somewhere, CD to new folder
vfd open c:\temp\new.flp /force
copy <yourfiles> a:\
vfd close
To create a new .flp file you have to use a powered off guest.
There you can do
Get-VM <vm-name> | New-FloppyDrive -NewFloppyImagePath "[MyDS] MyFolder/MyFile.flp"
Note that the folder "MyFolder" has to exist.
To mount an existing .flp file you can do
Get-VM <vm-name> | Get-FloppyDrive | Set-FloppyDrive -FloppyImagePath "[MyDS] MyFolder/MyFile.flp"
In this case the .flp file must exist and the guest can be powered on.
____________
Blog: LucD notes
Twitter: lucd22
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Hi guys,
Thanks for your replies. So far, it's looking like vfd might be the only solution to actually mounting the floppy locally and copying a file to the disk.
I kinda wish Windows had a loop driver and other fun stuff from Unix/Linux.
mike
Have you considered ISOs instead? Not sure how big you plan to go but you wouldn't have to worry about size problems and Windows has the equivalent of a loopback for ISOs.
=====
Carter Shanklin
Read the PowerCLI Blog
[Follow me on Twitter|http://twitter.com/cshanklin]