{"action":"created","issue":{"url":"https://api.github.com/repos/mitchellh/vagrant/issues/6143","labels_url":"https://api.github.com/repos/mitchellh/vagrant/issues/6143/labels{/name}","comments_url":"https://api.github.com/repos/mitchellh/vagrant/issues/6143/comments","events_url":"https://api.github.com/repos/mitchellh/vagrant/issues/6143/events","html_url":"https://github.com/mitchellh/vagrant/issues/6143","id":100852859,"number":6143,"title":"How to make a box fixed size during the build of the VM?","user":{"login":"enoch85","id":4511254,"avatar_url":"https://avatars.githubusercontent.com/u/4511254?v=3","gravatar_id":"","url":"https://api.github.com/users/enoch85","html_url":"https://github.com/enoch85","followers_url":"https://api.github.com/users/enoch85/followers","following_url":"https://api.github.com/users/enoch85/following{/other_user}","gists_url":"https://api.github.com/users/enoch85/gists{/gist_id}","starred_url":"https://api.github.com/users/enoch85/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enoch85/subscriptions","organizations_url":"https://api.github.com/users/enoch85/orgs","repos_url":"https://api.github.com/users/enoch85/repos","events_url":"https://api.github.com/users/enoch85/events{/privacy}","received_events_url":"https://api.github.com/users/enoch85/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-13T19:45:47Z","updated_at":"2015-08-14T22:07:01Z","closed_at":"2015-08-14T20:03:36Z","body":"I've been looking for hours on where I can find a box that is `--variant 'fixed'` instead of growable from start, or how I can change a existing Ubuntu 14.04 box to be fixed as it seems like all the VirtualBox boxes are set to be dynamic from start.\r\n\r\nVboxManage seems to be an alternative if I want to clone the VDI/VMDK manually to be fixed size, but what I'm looking for is a way to make the box fixed from start, during the build of the VM.  In other words - I don't want to convert it manully afterwards, it should be handled in the `Vagrantfile`.\r\n\r\n **Using this box**\r\nhttps://vagrantcloud.com/ubuntu/boxes/trusty64/versions/14.04/providers/virtualbox.box\r\n\r\n**Host system**\r\nUbuntu 14.04\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/mitchellh/vagrant/issues/comments/131251327","html_url":"https://github.com/mitchellh/vagrant/issues/6143#issuecomment-131251327","issue_url":"https://api.github.com/repos/mitchellh/vagrant/issues/6143","id":131251327,"user":{"login":"enoch85","id":4511254,"avatar_url":"https://avatars.githubusercontent.com/u/4511254?v=3","gravatar_id":"","url":"https://api.github.com/users/enoch85","html_url":"https://github.com/enoch85","followers_url":"https://api.github.com/users/enoch85/followers","following_url":"https://api.github.com/users/enoch85/following{/other_user}","gists_url":"https://api.github.com/users/enoch85/gists{/gist_id}","starred_url":"https://api.github.com/users/enoch85/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enoch85/subscriptions","organizations_url":"https://api.github.com/users/enoch85/orgs","repos_url":"https://api.github.com/users/enoch85/repos","events_url":"https://api.github.com/users/enoch85/events{/privacy}","received_events_url":"https://api.github.com/users/enoch85/received_events","type":"User","site_admin":false},"created_at":"2015-08-14T22:07:01Z","updated_at":"2015-08-14T22:07:01Z","body":"Thanks @sethvargo! Maybe I got this wrong, but I get this output:\r\n\r\n```\r\nA customization command failed:\r\n\r\n[\"modifyhd\", \"<disk id>\", \"--resize\", \"40000\", \"--variant\", \"Fixed\"]\r\n\r\nThe following error was experienced:\r\n\r\n#<Vagrant::Errors::VBoxManageError: There was an error while executing `VBoxManage`, a CLI used by Vagrant\r\nfor controlling VirtualBox. The command and stderr is shown below.\r\n\r\nCommand: [\"modifyhd\", \"<disk id>\", \"--resize\", \"40000\", \"--variant\", \"Fixed\"]\r\n\r\nStderr: Oracle VM VirtualBox Command Line Management Interface Version 4.3.10_Ubuntu\r\n(C) 2005-2015 Oracle Corporation\r\nAll rights reserved.\r\n\r\nUsage:\r\n\r\nVBoxManage modifyhd         <uuid|filename>\r\n                            [--type normal|writethrough|immutable|shareable|\r\n                                    readonly|multiattach]\r\n                            [--autoreset on|off]\r\n                            [--property <name=[value]>]\r\n                            [--compact]\r\n                            [--resize <megabytes>|--resizebyte <bytes>]\r\n\r\n\r\nSyntax error: unknown option: --variant\r\n\r\n>\r\n\r\nPlease fix this customization and try again.\r\n```"}}