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
nova keypair-add --pub-key ~/.ssh/id_rsa.pub tmueller | |
get_floating_ip() { | |
openstack ip floating list -f value -c "Floating IP Address" -c Port | grep 'None' | head -1 | cut -f1 -d" " | |
} | |
neutron net-create --port_security_enabled=False NetA | |
neutron subnet-create --name NetA_Sub1 --no-gateway --disable-dhcp NetA 192.168.0.0/24 | |
neutron net-create --port_security_enabled=False NetB |
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
--- a/manifests/server/service.pp 2017-04-10 13:29:34.307586169 +0200 | |
+++ b/manifests/server/service.pp 2017-04-10 13:28:03.756056508 +0200 | |
@@ -9,6 +9,7 @@ | |
$user = $postgresql::server::user | |
$port = $postgresql::server::port | |
$default_database = $postgresql::server::default_database | |
+ $connect_settings = $postgresql::server::default_connect_settings | |
anchor { 'postgresql::server::service::begin': } | |
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 | |
######################################## | |
# create the first spacewalk account | |
# satwho requires it | |
LANG=C | |
tempfile=$(mktemp /tmp/$(basename $0).XXXXXX) |
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
{ | |
"name": "thomas@MYDOMAIN.LOCAL", | |
"attributes": { | |
"urn:mspac:": { | |
"authenticated": true, | |
"complete": true, | |
"values": [ | |
{ | |
"raw": "BQAAAAAAAAABAAAAmAEAAFgAAAAAAAAACgAAABYAAADwAQAAAAAAAAwAAABcAAAACAIAAAAAAAAGAAAAFAAAAGgCAAAAAAAABwAAABAAAACAAgAAAAAAAAEQCADMzMzMiAEAAAAAAAAAAAIAiEIPkNN50wH/////////f/////////9/IN2nFdN50wEgnRFAnHrTASBdAQvUmtMBDAAMAAQAAgAAAAAACAACAAAAAAAMAAIAAAAAABAAAgAAAAAAFAACAAAAAAAYAAIAAwAAAFEEAAABAgAAAQAAABwAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABgAgAAIAEAASACQAAgAoAAIAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABgAAAAAAAAAGAAAAdABoAG8AbQBhAHMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAFIEAAAHAAAAAwAAAAAAAAACAAAARABDAAkAAAAAAAAACAAAAE0AWQBEAE8ATQBBAEkATgAEAAAAAQQAAAAAAAUVAAAARB7qgl6PkrbZdawfAAAAAADotY/TedMBDAB0AGgAbwBtAGEAcwAAACoAEAAcAEAAAAAAAAAAAAB0AGgAbwBtAGEAcwBAAG0AeQBkAG8AbQBhAGkAbgAuAGwAbwBjAGEAbAAAAAAAAABNAFkARABPAE0AQQBJAE4ALgBMAE8AQwBBAEwAAAAAAHb///8g02CaVJFO5afZuTKMj3CnAA |
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
# ausearch -m AVC,USER_AVC,SELINUX_ERR --start today -i | |
---- | |
type=USER_AVC msg=audit(02/07/2018 10:11:45.153:807656) : pid=1 uid=root auid=unset ses=unset subj=system_u:system_r:init_t:s0 msg='avc: received policyload notice (seqno=2) exe=/usr/lib/systemd/systemd sauid=root hostname=? addr=? terminal=?' | |
---- | |
type=USER_AVC msg=audit(02/07/2018 10:12:59.848:807742) : pid=1 uid=root auid=unset ses=unset subj=system_u:system_r:init_t:s0 msg='avc: received policyload notice (seqno=3) exe=/usr/lib/systemd/systemd sauid=root hostname=? addr=? terminal=?' | |
---- | |
type=USER_AVC msg=audit(02/07/2018 10:20:17.465:808721) : pid=1 uid=root auid=unset ses=unset subj=system_u:system_r:init_t:s0 msg='avc: received policyload notice (seqno=4) exe=/usr/lib/systemd/systemd sauid=root hostname=? addr=? terminal=?' | |
---- | |
type=USER_AVC msg=audit(02/07/2018 10:25:37.738:809410) : pid=1 uid=root auid=unset ses=unset subj=system_u:system_r:init_t:s0 msg='avc: received policyload notice (seqno=5) exe=/usr/lib/systemd/systemd sauid |
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
time python3 /tmp/test.py | |
/usr/local/lib/python3.6/site-packages/kubernetes/config/kube_config.py:509: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details. | |
config_dict=yaml.load(f), | |
^CTraceback (most recent call last): | |
File "/tmp/test.py", line 5, in <module> | |
response = kubernetes.client.ApisApi(client).get_api_versions(_request_timeout=0.5) | |
File "/usr/local/lib/python3.6/site-packages/kubernetes/client/apis/apis_api.py", line 55, in get_api_versions |
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
<VirtualHost *:80> | |
ServerName phabricator.my.domain | |
## Vhost docroot | |
DocumentRoot "/opt/phacility/phabricator/webroot" | |
<Directory "/opt/phacility/phabricator/webroot"> | |
Options Indexes FollowSymLinks MultiViews | |
AllowOverride None |
OlderNewer