Tag Info

New answers tagged


Apparently your Ansible is trying to logon to; but your vagrant machine seems to be listening at One way to solve this problem is to pass this to ansible-playbook: --extra-vars="ansible_ssh_host= ansible_ssh_port=22"


You can do this while creating the service, either by adding the field publicIPs to the JSON definition, or by using overrides with the IP address of the VM: kubectl expose rc nginx --port=80 --api-version="v1beta2" --overrides='{"publicIPs": [""], "apiVersion": "v1beta2"}' Another thing that works is configuring Putty - in Connection / SSH / ...


try to enable your GUI of virtual box as reported in this post Vagrant stuck connection timeout and follow steps in comments. if it doesn't work try to add this modification to your vagrantfile: create a file named "script.sh" that contains the following commands: mkdir /home/vagrant/.ssh wget --no-check-certificate -O authorized_keys ...


I experienced a similar issue. Here is what I did. Enabled virtualization in BIOS Ran ssh-add ~/.vagrant.d/insecure_private_key Added config.vm.boot_timeout = 600 to my ~/Homestead/Vagrantfile It's working fine now.


Okay, this post let me know that I could emit any upstart event I wanted as the final step in my Vagrantfile: Vagrant.configure(2) do |config| config.vm.provision :file do |file| file.source = "./conf/vagrant-ready.conf" file.destination = "vagrant-ready.conf" end config.vm.provision :shell, path: "provision.sh" ...


Try this: 1) Create a file /usr/sbin/policy-rc.d with following content: #!/bin/sh exit 101 2) Make it executable: chmod +x /usr/sbin/policy-rc.d After this, all packages will be installed but the services will not start. Once you are done, you can remove the file: rm -f /usr/sbin/policy-rc.d


Lots of options: Move the closed source content out of /var/www Change the permissions on that content such that the apache user cannot read it Iptables to stop port 80/443 traffic Pass a runlevel environment variable to apt-get: sudo RUNLEVEL=1 apt-get install apache2

Top 50 recent answers are included