Vagrant “ VM not created.” when trying to create box from existing VM

后端 未结 2 998
耶瑟儿~
耶瑟儿~ 2021-01-31 07:34

I imported the precise32 box, then installed some packages and other data on the VM. My plan is to then repackage it into a box, to save on complicated provisioning when sharing

2条回答
  •  天涯浪人
    2021-01-31 08:13

    If you are in the folder that contains your Vagrantfile, you can also simply run:

    vagrant package --output your-box-name.box
    

    The following image shows the content of the .box file created with this command:

提交回复
热议问题