Vagrant.el https://github.com/ottbot/vagrant.el

在Vagrant目录可以通过M-x执行Vagrant命令:

vagrant-up
vagrant-halt
vagrant-status

等,与终端下的Vagrant命令相同。

Vagrant-Tramp https://github.com/dougm/vagrant-tramp

配置:

(eval-after-load 'tramp
  '(vagrant-tramp-enable))

通过Tramp打开Vagrant文件:

Find file: /vagrant:
-> devbox:
   esxbox:
   kafka-broker1:
   kafka-broker2:
   kafka-zookeeper:

使用Sudo以管理员权限打开Vagrant文件:

C-x C-f /vagrant:box|sudo:box:/path/to/file RET

vagrant-tramp-ssh命令还适用与以下软件:

  • VMware Fusion
  • VMware Workstation
  • VirtualBox

venmos
462 声望15 粉丝

Maccon, Emacscon, Lolicon, ACG. False geek, Looks like a quiet guy. Love open source, Loves photography and outdoor sports. Favorite programming language is Ruby and Lisp.


引用和评论

0 条评论