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
def lc | |
$lc = LiveConsole.new(:socket, :port => 3030, :host => '0.0.0.0') | |
$lc.start | |
end | |
#------------------------------------------------------- | |
# This module houses a pile of informative constants for LiveConsole. | |
module LiveConsoleConfig | |
Authors = 'Pete Elmore' | |
Email = 'pete.elmore@gmail.com' | |
PkgName = 'live_console' |
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
[zenoss@portal ~]$ zenrelationscan -f | |
[2015-09-22 11:02:32] Initializing zenrelationscan version 1.0.1 (detailed log at /opt/zenoss/log/toolbox/zenrelationscan.log) | |
Traceback (most recent call last): | |
File "/opt/zenoss/bin/zenrelationscan", line 8, in <module> | |
load_entry_point('zenoss.toolbox==0.8.0', 'console_scripts', 'zenrelationscan')() | |
File "/opt/zenoss/lib/python2.7/site-packages/zenoss.toolbox-0.8.0-py2.7.egg/zenoss/toolbox/zenrelationscan.py", line 258, in main | |
dmd = ZenScriptBase(noopts=True, connect=True).dmd | |
File "/opt/zenoss/Products/ZenUtils/ZenScriptBase.py", line 41, in __init__ |
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
Brians-MacBook-Air:~ $ brew unlink fio | |
Unlinking /usr/local/Cellar/fio/2.0.7... 4 links removed | |
Brians-MacBook-Air:~ $ HOMEBREW_MAKE_JOBS=1 VERBOSE=1 brew install fio | |
==> Downloading http://brick.kernel.dk/snaps/fio-2.0.15.tar.bz2 | |
Already downloaded: /Users/brian/Library/Caches/Homebrew/fio-2.0.15.tar.bz2 | |
tar xf /Users/brian/Library/Caches/Homebrew/fio-2.0.15.tar.bz2 | |
==> make prefix=/usr/local/Cellar/fio/2.0.15 mandir=/usr/local/Cellar/fio/2.0.15/share/man CC=cc CFLAGS= install | |
make prefix=/usr/local/Cellar/fio/2.0.15 mandir=/usr/local/Cellar/fio/2.0.15/share/man CC=cc CFLAGS= install | |
Makefile:12: config-host.mak: No such file or directory | |
FIO_VERSION = fio-2.0.15 |
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
Script started on Tue Apr 23 17:28:53 2013 | |
bash-3.2$ HOMEBREW_MAKE_JOBS=1 VERBOSE=1 brew install p11-kit | |
==> Downloading http://p11-glue.freedesktop.org/releases/p11-kit-0.18.1.tar.gz | |
Already downloaded: /Users/brian/Library/Caches/Homebrew/p11-kit-0.18.1.tar.gz | |
tar xf /Users/brian/Library/Caches/Homebrew/p11-kit-0.18.1.tar.gz | |
==> Patching | |
/usr/bin/patch -f -p1 -i 000-homebrew.diff | |
patching file configure.ac | |
patching file configure | |
Hunk #1 succeeded at 17201 with fuzz 1. |
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
nsrc@brian:~$ PACKER_LOG=1 ./packer build centos.json | |
2016/05/13 15:29:35 [INFO] Packer version: 0.10.1 | |
2016/05/13 15:29:35 Packer Target OS/Arch: linux amd64 | |
2016/05/13 15:29:35 Built with Go Version: go1.6.2 | |
2016/05/13 15:29:35 Detected home directory from env var: /home/nsrc | |
2016/05/13 15:29:35 Using internal plugin for null | |
2016/05/13 15:29:35 Using internal plugin for openstack | |
2016/05/13 15:29:35 Using internal plugin for amazon-instance | |
2016/05/13 15:29:35 Using internal plugin for azure-arm | |
2016/05/13 15:29:35 Using internal plugin for googlecompute |
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
root@wrn-dns2:~# lxc delete -f foo{1..10}; sync; lxc image delete 3b825a6a063a; sync; sleep 1; for i in foo{1..10}; do lxc launch --debug ubuntu:14.04 $i & done; wait | |
[1] 28057 | |
[2] 28058 | |
[3] 28059 | |
[4] 28060 | |
[5] 28061 | |
[6] 28062 | |
[7] 28063 | |
[8] 28064 | |
[9] 28065 |
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
<< snip logs for deleting containers >> | |
DBUG[02-14|20:08:57] handling ip=@ method=GET url=/1.0 | |
DBUG[02-14|20:08:57] | |
{ | |
"type": "sync", | |
"status": "Success", | |
"status_code": 200, | |
"operation": "", | |
"error_code": 0, |
This file has been truncated, but you can view the full file.
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
/sys/fs/cgroup | |
├── blkio | |
│ ├── blkio.io_merged | |
│ ├── blkio.io_merged_recursive | |
│ ├── blkio.io_queued | |
│ ├── blkio.io_queued_recursive | |
│ ├── blkio.io_service_bytes | |
│ ├── blkio.io_service_bytes_recursive | |
│ ├── blkio.io_serviced | |
│ ├── blkio.io_serviced_recursive |
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
[plugin:cgroups] | |
# cgroups plugin resource charts = yes | |
# update every = 1 | |
# check for new cgroups every = 10 | |
# enable cpuacct stat (total CPU) = auto | |
# enable cpuacct usage (per core CPU) = auto | |
# enable memory (used mem including cache) = auto | |
# enable detailed memory = auto | |
# enable memory limits fail count = auto | |
# enable swap memory = auto |
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/netbox/ipam/formfields.py b/netbox/ipam/formfields.py | |
index 914310b..4810375 100644 | |
--- a/netbox/ipam/formfields.py | |
+++ b/netbox/ipam/formfields.py | |
@@ -21,8 +21,8 @@ class IPFormField(forms.Field): | |
return value | |
# Ensure that a subnet mask has been specified. This prevents IPs from defaulting to a /32 or /128. | |
- if len(value.split('/')) != 2: | |
- raise ValidationError('CIDR mask (e.g. /24) is required.') |
OlderNewer