Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow the addition of more disks to a VM #29

Open
jhkrischel opened this issue Mar 12, 2018 · 2 comments
Open

Allow the addition of more disks to a VM #29

jhkrischel opened this issue Mar 12, 2018 · 2 comments

Comments

@jhkrischel
Copy link

We'd like to be able to add additional disks - example code for virtualbox:

        driver.execute("createmedium", "disk", "--filename", disk_file, "--size", "#{disk_size}", "--format", "VDI")
        driver.execute('storageattach', uuid, '--storagectl', "SATA Controller", '--port', "#{sata_port}", '--type', 'hdd', '--medium', disk_file)
@spazquest
Copy link
Contributor

Added to Skytap's internal Jira as ENG-33289

@lfirwin
Copy link

lfirwin commented Mar 22, 2018

Ability added in latest pull request. Doesn't quite meet the original request above, but does create additional disks for a VM given a list of disk sizes. For example, adding 2 additional disks to a VM of 25GB in size:

box.disks = [25600,25600]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants