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

前端 未结 9 1897
你的背包
你的背包 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条回答
  •  时光取名叫无心
    2021-01-30 03:02

    As mentioned here - http://sysadm.pp.ua/linux/sistemy-virtualizacii/vagrant-box-creation.html You need three things for box to be imported and packaged:

    • Install Guest additions
    • Passwordless sudo
    • SSH access So you just need to login to your Ubuntu 12.10, install Vbox Guest additions, add user "vagrant" with passwordless sudo access.

提交回复
热议问题