From 5a10df14edb83e274dcfa5f33911dadb451f1154 Mon Sep 17 00:00:00 2001 From: Augustas Date: Mon, 31 May 2021 18:12:06 +0200 Subject: [PATCH] Update walkthrough_macosx.rst precise64 image is non existing anymore on vagrantup servers. Also changed instructions with new approach to setup virtualbox image name while executing vagrant init command. --- doc/topics/tutorials/walkthrough_macosx.rst | 28 +++------------------ 1 file changed, 4 insertions(+), 24 deletions(-) diff --git a/doc/topics/tutorials/walkthrough_macosx.rst b/doc/topics/tutorials/walkthrough_macosx.rst index 40e29286196..3a966291a9b 100644 --- a/doc/topics/tutorials/walkthrough_macosx.rst +++ b/doc/topics/tutorials/walkthrough_macosx.rst @@ -246,36 +246,16 @@ From the minion folder, type .. code-block:: bash - vagrant init + vagrant init ubuntu/focal64 -This command creates a default Vagrantfile configuration file. This +This command creates a default Vagrantfile configuration file and import focal64 virtualbox image file to configuration, so it could be used. This configuration file will be used to pass configuration parameters to the Salt provisioner in Step 3. -Import Precise64 Ubuntu Box ---------------------------- - -.. code-block:: bash - - vagrant box add precise64 http://files.vagrantup.com/precise64.box - -.. note:: - - This box is added at the global Vagrant level. You only need to do it - once as each VM will use this same file. - Modify the Vagrantfile ---------------------- -Modify ./minion/Vagrantfile to use th precise64 box. Change the ``config.vm.box`` -line to: - -.. code-block:: yaml - - config.vm.box = "precise64" - -Uncomment the line creating a host-only IP. This is the ip of your minion -(you can change it to something else if that IP is already in use): +Modify Vagrantfile to use th private_ip in local network. .. code-block:: yaml @@ -310,7 +290,7 @@ Now log into the VM in ssh using Vagrant again: vagrant ssh You should see the shell prompt change to something similar to -``vagrant@precise64:~$`` meaning you're inside the VM. From there, enter the +``vagrant@focal64:~$`` meaning you're inside the VM. From there, enter the following: .. code-block:: bash