Introducción a la línea de comandos

  • vagrant list-commands (los más interesantes)
    • box: manages boxes: installation, removal, etc.
    • connect: conexión a entorno Vagrant remoto
    • destroy: stops and deletes all traces of the vagrant machine
    • global-status: outputs status Vagrant environments for this user
    • halt: stops the vagrant machine
    • help: shows the help for a subcommand
    • init: initializes a new Vagrant environment by creating a Vagrantfile
    • list-commands: outputs all available Vagrant subcommands, even non-primary ones
    • login: log in to HashiCorp's Vagrant Cloud
    • package: packages a running vagrant environment into a box
    • plugin: manages plugins: install, uninstall, update, etc.
    • port: displays information about guest port mappings
    • powershell: connects to machine via powershell remoting
      • de microsoft (ojo licenciamiento)
    • provider: show provider for this environment
      • quien gestiona las máquinas virtuales
    • provision: provisions the vagrant machine
    • push: deploys code in this environment to a configured destination
      • Atlas
    • rdp: connects to machine via RDP
      • microsoft
    • reload: restarts vagrant machine, loads new Vagrantfile configuration
    • resume: resume a suspended vagrant machine
    • rsync: syncs rsync synced folders to remote machine
    • rsync-auto: syncs rsync synced folders automatically when files change
    • snapshot: manages snapshots: saving, restoring, etc.
    • ssh: connects to machine via SSH
    • ssh-config: outputs OpenSSH valid configuration to connect to the machine
    • status: outputs status of the vagrant machine
    • suspend: suspends the machine
    • up: starts and provisions the vagrant environment
    • version: prints current and latest Vagrant version
  • info/cursos/openwebinars/vagrant/cli.txt
  • Darrera modificació: 04/07/2018 08:27
  • per mate