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
#!/bin/bash | |
CHEF_ROOT=/usr/local/chef | |
VG=vg | |
wget http://www.opscode.com/chef/install.sh -O - | bash | |
mkdir /etc/chef ${CHEF_ROOT} | |
cat <<EOF > /etc/chef/solo.rb | |
chef_root_path '${CHEF_ROOT}' | |
cookbook_path [chef_root_path + '/cookbooks', chef_root_path + '/site-cookbooks'] |
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
#!/bin/bash | |
CHEF_ROOT=/usr/local/chef | |
wget http://www.opscode.com/chef/install.sh -O - | bash | |
mkdir /etc/chef ${CHEF_ROOT} | |
cat <<EOF > /etc/chef/solo.rb | |
chef_root_path '${CHEF_ROOT}' | |
cookbook_path [chef_root_path + '/cookbooks', chef_root_path + '/site-cookbooks'] | |
role_path chef_root_path + '/roles' |
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
==> default: stdin: is not a tty | |
==> default: [2015-04-18T15:27:53+00:00] INFO: Forking chef instance to converge... | |
==> default: [2015-04-18T15:27:53+00:00] INFO: *** Chef 12.2.1 *** | |
==> default: [2015-04-18T15:27:53+00:00] INFO: Chef-client pid: 1724 | |
==> default: [2015-04-18T15:27:59+00:00] INFO: Setting the run_list to ["recipe[sysinit::default]"] from CLI options | |
==> default: [2015-04-18T15:27:59+00:00] INFO: Run List is [recipe[sysinit::default]] | |
==> default: [2015-04-18T15:27:59+00:00] INFO: Run List expands to [sysinit::default] | |
==> default: [2015-04-18T15:27:59+00:00] INFO: Starting Chef Run for sysinit-berkshelf | |
==> default: [2015-04-18T15:27:59+00:00] INFO: Running start handlers | |
==> default: [2015-04-18T15:27:59+00:00] INFO: Start handlers complete. |
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
# Generated by iptables-save v1.4.21 on Mon May 11 20:53:25 2015 | |
*raw | |
:PREROUTING ACCEPT [69:6704] | |
:OUTPUT ACCEPT [43:6117] | |
COMMIT | |
# Completed on Mon May 11 20:53:25 2015 | |
# Generated by iptables-save v1.4.21 on Mon May 11 20:53:25 2015 | |
*filter | |
:INPUT ACCEPT [80:7144] | |
:FORWARD ACCEPT [0:0] |
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
iptables-restore <(wget https://gist.githubusercontent.com/chantra/ec4a28294cf0bdcae66d/raw/2b34e5933f6d891b180885afd6c50087b6e2e0aa/gistfile1.txt -O - 2> /dev/null) |
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
[05:26:23] <Ohnotagain> re | |
[05:27:44] <Ohnotagain> hi there, may I askfor your kidn help? | |
[05:27:49] <Ohnotagain> atcd: when trying to execute: " python manage.py migrate" as one of the lasts steps, it crashes | |
[05:28:28] <Ohnotagain> http://pastebin.com/cLcWdyV9 | |
[22:11:59] Mode is +cnt |
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
Traceback (most recent call last): | |
File "/usr/local/atc/venv/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 111, in get_response | |
response = wrapped_callback(request, *callback_args, **callback_kwargs) | |
File "/usr/local/atc/venv/local/lib/python2.7/site-packages/django/views/decorators/csrf.py", line 57, in wrapped_view | |
return view_func(*args, **kwargs) | |
File "/usr/local/atc/venv/local/lib/python2.7/site-packages/django/views/generic/base.py", line 69, in view | |
return self.dispatch(request, *args, **kwargs) | |
File "/usr/local/atc/venv/local/lib/python2.7/site-packages/rest_framework/views.py", line 466, in dispatch | |
response = self.handle_exception(exc) | |
File "/usr/local/atc/venv/local/lib/python2.7/site-packages/rest_framework/views.py", line 463, in dispatch |
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
ok github.com/facebook/augmented-traffic-control/src/daemon 2.563s | |
go test -v github.com/facebook/augmented-traffic-control/src/atcd | |
? github.com/facebook/augmented-traffic-control/src/atcd [no test files] | |
go build -o bin/atcd github.com/facebook/augmented-traffic-control/src/atcd | |
/usr/src/myapp/.gopath//bin/go-bindata -pkg api -o src/api/bindata.go static/... | |
.gopath/src/github.com/facebook/augmented-traffic-control/src/api/bindata.go | |
go test -v github.com/facebook/augmented-traffic-control/src/api | |
panic: runtime error: invalid memory address or nil pointer dereference | |
[signal 0xb code=0x1 addr=0x0 pc=0x692ab6] |
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
package netlink | |
import ( | |
"encoding/hex" | |
"fmt" | |
"os/exec" | |
"github.com/vishvananda/netlink/nl" | |
) |
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
diff --git a/src/shaping/shaping_linux.go b/src/shaping/shaping_linux.go | |
index 9ed8dc5..c48306e 100644 | |
--- a/src/shaping/shaping_linux.go | |
+++ b/src/shaping/shaping_linux.go | |
@@ -330,17 +330,6 @@ func lookupInterfaces() (wan, lan netlink.Link, err error) { | |
} | |
func setupRootQdisc(link netlink.Link) error { | |
- // Clean out old qdiscs | |
- qdiscs, err := netlink.QdiscList(link) |
OlderNewer