1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-09 18:15:49 +02:00

vagrant: update page (#17457)

This commit is contained in:
Fazle Arefin 2025-08-03 02:34:41 +10:00 committed by GitHub
parent 6a92a48c45
commit b666346d24
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,17 +1,18 @@
# vagrant
> Manage lightweight, reproducible, and portable development environments.
> More information: <https://www.vagrantup.com>.
> Some subcommands such as `box`, `snapshot`, `halt`, etc. have their own usage documentation.
> More information: <https://developer.hashicorp.com/vagrant/docs/cli>.
- Create Vagrantfile in current directory with the base Vagrant box:
- Create a `Vagrantfile` in the current directory with the base Vagrant box:
`vagrant init`
- Create Vagrantfile with the Ubuntu 20.04 (Focal Fossa) box from HashiCorp Atlas:
- Create a `Vagrantfile` with a box from the Vagrant Public Registry:
`vagrant init ubuntu/focal64`
`vagrant init {{ubuntu/focal64}}`
- Start and provision the vagrant environment:
- Start and provision the Vagrant environment:
`vagrant up`
@ -23,7 +24,7 @@
`vagrant halt`
- Connect to machine via SSH:
- Connect to the machine via SSH:
`vagrant ssh`