Revision d9d209f3 util/vm/install-mininet-vm.sh

View differences:

util/vm/install-mininet-vm.sh
13 13
sudo hostname `cat /etc/hostname`
14 14
sudo sed -i -e 's/quiet splash/text/' /etc/default/grub
15 15
sudo update-grub
16
# Update from official archive
17
sudo apt-get update
16 18
# 12.10 and earlier
17
sudo sed -i -e 's/us.archive.ubuntu.com/mirrors.kernel.org/' \
18
	/etc/apt/sources.list
19
#sudo sed -i -e 's/us.archive.ubuntu.com/mirrors.kernel.org/' \
20
#	/etc/apt/sources.list
19 21
# 13.04 and later
20
sudo sed -i -e 's/\/archive.ubuntu.com/\/mirrors.kernel.org/' \
21
	/etc/apt/sources.list
22
sudo apt-get update
22
#sudo sed -i -e 's/\/archive.ubuntu.com/\/mirrors.kernel.org/' \
23
#	/etc/apt/sources.list
23 24
# Clean up vmware easy install junk if present
24 25
if [ -e /etc/issue.backup ]; then
25 26
    sudo mv /etc/issue.backup /etc/issue

Also available in: Unified diff