How do I package an existing VM that was not created using vagrant up command?

前端 未结 9 1900
你的背包
你的背包 2021-01-30 02:29

I installed a VirtualBox and then installed a Ubuntu 12.10 Server Base OS in it. I have installed all kinds of php packages and other packages in it. My friends recommended me t

9条回答
  •  Happy的楠姐
    2021-01-30 03:05

    vagrant package --output box_name.box --base "vm machine name" --vagrantfile Vagrantfile

    Make sure that port forwarding and SSH keys are setup properly.

    This may be a good example: https://github.com/okfn/ckan/wiki/How-to-Create-a-CentOS-Vagrant-Base-Box

提交回复
热议问题