Created
November 23, 2013 06:05
-
-
Save jameshilliard/7611354 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
disk2_path = Dir.pwd() + "/" + "Tomato-Data" + ".vmdk" | |
#end | |
vb.customize ["storagectl", :id, "--name", "SATAController", "--controller", "IntelAHCI", "--portcount", "2", "--hostiocache", "on"] | |
vb.customize ["storageattach", :id, "--storagectl", "SATAController", "--port", "0", "--device", "0", "--nonrotational", "on"] | |
vb.customize ["createhd", "--filename", disk2_path, "--size", 300*1024, "--format", "vmdk", "--variant", "Standard"] | |
vb.customize ["storageattach", :id, "--storagectl", "SATAController", "--port", "1", "--device", "0", "--type", "hdd", "--medium", disk2_path] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment