Ferramentas do usuário

Ferramentas do site


vagrant:create_box

Diferenças

Aqui você vê as diferenças entre duas revisões dessa página.

Link para esta página de comparações

Ambos lados da revisão anteriorRevisão anterior
Próxima revisão
Revisão anterior
vagrant:create_box [2014/08/06 15:21] Édson Kuzniewskivagrant:create_box [2022/05/25 16:24] (atual) – edição externa 127.0.0.1
Linha 1: Linha 1:
 ====== Links para ver ====== ====== Links para ver ======
 [[http://aruizca.com/steps-to-create-a-vagrant-base-box-with-ubuntu-14-04-desktop-gui-and-virtualbox/]]\\ [[http://aruizca.com/steps-to-create-a-vagrant-base-box-with-ubuntu-14-04-desktop-gui-and-virtualbox/]]\\
-[[https://stackmachine.com/blog/building-a-vagrant-base-box-with-packer]]+[[https://stackmachine.com/blog/building-a-vagrant-base-box-with-packer]]\\ 
 +[[https://docs.vagrantup.com/v2/virtualbox/configuration.html]]
  
 ====== Create a BOX ====== ====== Create a BOX ======
Linha 41: Linha 42:
 ===== Install OpenSSH Server ===== ===== Install OpenSSH Server =====
 <code> <code>
-    $ sudo apt-get install -y openssh-server +$ sudo apt-get install -y openssh-server 
-    $ sudo vi /etc/ssh/sshd_config+$ sudo vi /etc/ssh/sshd_config
 </code> </code>
 ==== Ensure the following is set ==== ==== Ensure the following is set ====
Linha 52: Linha 53:
 </code> </code>
 <code> <code>
-    $ sudo service ssh restart+$ sudo service ssh restart
 </code> </code>
 +
 +===== GRUB =====
 +Run Gedit as root (gksu gedit).\\
 +\\
 +Open ''/etc/default/grub'' and locate the following lines:\\
 +<code>
 +GRUB_HIDDEN_TIMEOUT=0
 +GRUB_HIDDEN_TIMEOUT_QUIET=true
 +</code>
 +Change the values as follows:
 +<code>
 +GRUB_HIDDEN_TIMEOUT=10
 +GRUB_HIDDEN_TIMEOUT_QUIET=false
 +</code>
 +Save and run ''sudo update-grub'' from your terminal and ''reboot''.
  
 ===== Create Vagrant Base Box ===== ===== Create Vagrant Base Box =====
vagrant/create_box.1407349294.txt.gz · Última modificação: 2022/05/25 16:25 (edição externa)