Anton Shestakov <av6@dwimlabs.net>, Sun, 20 Mar 2016 23:42:22 +0800
register: autofocus on the first form field
Vagrant.configure("2") do |config|
config.vm.box = "ubuntu/trusty64"
config.vm.network "private_network", ip: "192.168.33.111"
config.vm.network "forwarded_port", guest: 443, host: 21443
# disabled because we don't need it
config.vm.synced_folder ".", "/vagrant", disabled: true
# disabled because user/group don't exist on the first run yet
config.vm.synced_folder "..", "/home/tram-im/tram-im/", owner: "tram-im", group: "tram-im", mount_options: ["dmode=755,fmode=644"], disabled: true
config.vm.provider "virtualbox" do |vb|
vb.customize ["modifyvm", :id, "--cpus", "1"]
vb.customize ["modifyvm", :id, "--memory", "256"]
config.vm.provision "ansible" do |ansible|
ansible.playbook = "provision/playbook.yml"
#ansible.tags = "common,nginx,prosody,turnserver,certs,tram-im"