You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't know if this issue is already fixed, but I'm going to expose it.
After completely downloading and starting the 32bit VM, I got the following error in the end:
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!
cat /tmp/vagrant-network-interfaces.pre /tmp/vagrant-network-entry /tmp/vagrant-network-interfaces.post > /etc/network/interfaces
Stdout from the command:
Stderr from the command:
stdin: is not a tty
cat: write error: No space left on device
I fixed it with the following steps:
Shutdown the VM: youruser@yourpc:~$ vagrant halt
Run VM from VirtualBox GUI and log as: User: vagrant Password: vagrant
Check disk space usage. Look that it shows 100% of Use% for /dev/sda1 vagrant@coursera-sdn:~$ df -h
Set network interfaces. As the root user, edit /etc/network/interfaces file and save it. vagrant@coursera-sdn:~$ sudo nano /etc/network/interfaces
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet dhcp
# Host-only interface
auto eth1
iface eth1 inet static
address 192.168.0.100
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
Shutdown the VM. vagrant@coursera-sdn:~$ sudo shutdown -h now
Start VM again with vagrant in the Coursera-SDN directory. Check SSH and shared folder. youruser@yourpc:~/git/Coursera-SDN$ vagrant up youruser@yourpc:~/git/Coursera-SDN$ vagrant ssh vagrant@coursera-sdn:~$ ls /vagrant/ README.md README.md~ Vagrantfile Vagrantfile~ assignments setup
The text was updated successfully, but these errors were encountered:
That writes zeros into every free sector. That should make compression of the box easier.
Maybe the creator of the box forgot to run the second command leaving a big file on the vm which takes every free disk space (That actually just happened to myself).
I don't know if this issue is already fixed, but I'm going to expose it.
After completely downloading and starting the 32bit VM, I got the following error in the end:
I fixed it with the following steps:
Shutdown the VM:
youruser@yourpc:~$ vagrant halt
Run VM from VirtualBox GUI and log as:
User: vagrant Password: vagrant
Check disk space usage. Look that it shows 100% of Use% for /dev/sda1
vagrant@coursera-sdn:~$ df -h
Remove an EMPTY file created (I'm still wondering why?)
vagrant@coursera-sdn:~$ sudo rm /EMPTY
Check disk space usage again. Loos that Use% for /dev/sda1 is not 100%.
vagrant@coursera-sdn:~$ df -h
Set network interfaces. As the root user, edit /etc/network/interfaces file and save it.
vagrant@coursera-sdn:~$ sudo nano /etc/network/interfaces
Shutdown the VM.
vagrant@coursera-sdn:~$ sudo shutdown -h now
Start VM again with vagrant in the Coursera-SDN directory. Check SSH and shared folder.
youruser@yourpc:~/git/Coursera-SDN$ vagrant up
youruser@yourpc:~/git/Coursera-SDN$ vagrant ssh
vagrant@coursera-sdn:~$ ls /vagrant/
README.md README.md~ Vagrantfile Vagrantfile~ assignments setup
The text was updated successfully, but these errors were encountered: