Created
July 5, 2013 16:20
-
-
Save ku1ik/5935636 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~/scratch % vagrant up --provider=lxc | |
Bringing machine 'default' up with 'lxc' provider... | |
[default] Importing base box 'raring64'... | |
[default] Setting up mount entries for shared folders... | |
[default] -- /vagrant | |
[default] Starting container... | |
[default] Waiting for container to start. This should not take long. | |
[default] Container started and ready for use! | |
~/scratch % vagrant ssh | |
Welcome to Ubuntu 13.04 (GNU/Linux 3.8.0-25-generic x86_64) | |
* Documentation: https://help.ubuntu.com/ | |
vagrant@raring:~$ sudo apt-get install ufw | |
Reading package lists... Done | |
Building dependency tree | |
Reading state information... Done | |
The following extra packages will be installed: | |
iptables libnfnetlink0 | |
The following NEW packages will be installed: | |
iptables libnfnetlink0 ufw | |
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded. | |
Need to get 553 kB of archives. | |
After this operation, 2,249 kB of additional disk space will be used. | |
Do you want to continue [Y/n]? | |
Get:1 http://archive.ubuntu.com/ubuntu/ raring/main libnfnetlink0 amd64 1.0.0-1.1ubuntu1 [14.9 kB] | |
Get:2 http://archive.ubuntu.com/ubuntu/ raring/main iptables amd64 1.4.12-2ubuntu5 [380 kB] | |
Get:3 http://archive.ubuntu.com/ubuntu/ raring/main ufw all 0.33-0ubuntu3 [157 kB] | |
Fetched 553 kB in 1s (514 kB/s) | |
Preconfiguring packages ... | |
Selecting previously unselected package libnfnetlink0. | |
(Reading database ... 18036 files and directories currently installed.) | |
Unpacking libnfnetlink0 (from .../libnfnetlink0_1.0.0-1.1ubuntu1_amd64.deb) ... | |
Selecting previously unselected package iptables. | |
Unpacking iptables (from .../iptables_1.4.12-2ubuntu5_amd64.deb) ... | |
Selecting previously unselected package ufw. | |
Unpacking ufw (from .../ufw_0.33-0ubuntu3_all.deb) ... | |
Processing triggers for man-db ... | |
Processing triggers for ureadahead ... | |
Setting up libnfnetlink0 (1.0.0-1.1ubuntu1) ... | |
Setting up iptables (1.4.12-2ubuntu5) ... | |
Setting up ufw (0.33-0ubuntu3) ... | |
Creating config file /etc/ufw/before.rules with new version | |
Creating config file /etc/ufw/before6.rules with new version | |
Creating config file /etc/ufw/after.rules with new version | |
Creating config file /etc/ufw/after6.rules with new version | |
Processing triggers for libc-bin ... | |
ldconfig deferred processing now taking place | |
Processing triggers for ureadahead ... | |
vagrant@raring:~$ sudo ufw enable | |
Command may disrupt existing ssh connections. Proceed with operation (y|n)? y | |
ERROR: initcaps | |
[Errno 2] libkmod: ERROR ../libkmod/libkmod.c:554 kmod_search_moddep: could not open moddep file '/lib/modules/3.8.0-25-generic/modules.dep.bin' | |
ip6tables v1.4.12: can't initialize ip6tables table `filter': Table does not exist (do you need to insmod?) | |
Perhaps ip6tables or your kernel needs to be upgraded. | |
vagrant@raring:~$ | |
vagrant@raring:~$ ls -l /lib/modules* | |
ls: cannot access /lib/modules*: No such file or directory | |
vagrant@raring:~$ logout | |
Connection to 10.0.3.222 closed. | |
~/scratch % uname -a | |
Linux t430u 3.8.0-25-generic #37-Ubuntu SMP Thu Jun 6 20:47:07 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux | |
~/scratch % |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment