size | description |
---|---|
833140 | setup |
4121560 | 100% used |
1587032 | tar->untar |
This file contains hidden or 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 | |
# | |
# requires: | |
# bash | |
# | |
set -e | |
set -o pipefail | |
function nbd_used?() { | |
local devpath=${1} |
This file contains hidden or 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 | |
# | |
# requires: | |
# bash | |
# mkdir, rsync | |
# | |
set -e | |
set -o pipefail | |
set -x |
This file contains hidden or 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 | |
# | |
# requires: | |
# bash | |
# git | |
# | |
set -e | |
set -o pipefail | |
set -x |
This file contains hidden or 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
$ ./setup-brvlan-pair.sh | |
=> /etc/sysconfig/network-scripts/ifcfg-brvlan2001 | |
DEVICE=brvlan2001 | |
TYPE=Bridge | |
BOOTPROTO=none | |
ONBOOT=yes | |
=> /etc/sysconfig/network-scripts/ifcfg-vlan2001 | |
DEVICE=vlan2001 | |
BOOTPROTO=none | |
ONBOOT=yes |
This file contains hidden or 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
$ rpm2cpio qemu-kvm-1.5.3-19.el7.src.rpm | cpio --list 2>/dev/null | egrep '\.spec$' | |
qemu-kvm.spec | |
$ rpm2cpio qemu-kvm-1.5.3-19.el7.src.rpm | cpio -id qemu-kvm.spec | |
28804 blocks |
This file contains hidden or 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
Transaction Check Error: | |
file /etc/my.cnf from install of mariadb-libs-1:5.5.33a-3.el7.x86_64 conflicts with file from package mysql-libs-5.1.71-1.el6.x86_64 | |
file /usr/share/mysql/charsets/Index.xml from install of mariadb-libs-1:5.5.33a-3.el7.x86_64 conflicts with file from package mysql-libs-5.1.71-1.el6.x86_64 | |
file /usr/share/mysql/charsets/armscii8.xml from install of mariadb-libs-1:5.5.33a-3.el7.x86_64 conflicts with file from package mysql-libs-5.1.71-1.el6.x86_64 | |
file /usr/share/mysql/charsets/ascii.xml from install of mariadb-libs-1:5.5.33a-3.el7.x86_64 conflicts with file from package mysql-libs-5.1.71-1.el6.x86_64 | |
file /usr/share/mysql/charsets/cp1250.xml from install of mariadb-libs-1:5.5.33a-3.el7.x86_64 conflicts with file from package mysql-libs-5.1.71-1.el6.x86_64 | |
file /usr/share/mysql/charsets/cp852.xml from install of mariadb-libs-1:5.5.33a-3.el7.x86_64 conflicts with file from package mysql-libs-5.1.71-1.el6.x86_64 | |
file /usr/share/mysql/charsets/hebrew.xml from install of maria |
This file contains hidden or 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
### mussel hack!!! | |
# | |
# top-level: | |
# | |
# + stdout | |
# + stderr | |
# + history | |
# + statistics/:namespace/:cmd/:today/:txid/ | |
# + test/:category/:api_version/:script/:step/:today/:txid/ |
This file contains hidden or 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 | |
# | |
# requires: | |
# bash | |
# | |
set -e | |
while read line; do | |
set ${line} | |
pid=$(echo ${line} | sed "s, ,\n,g" | head -1) |
This file contains hidden or 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 | |
# | |
# requires: | |
# bash | |
# cat, pidstat | |
# | |
set -e | |
LANG=C | |
LC_ALL=C |
NewerOlder