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
FROM ubuntu:xenial | |
RUN apt-get update && apt-get install -y apt-transport-https ca-certificates | |
RUN apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D | |
RUN echo 'deb https://apt.dockerproject.org/repo ubuntu-xenial main' > /etc/apt/sources.list.d/docker.list | |
RUN apt-get update && apt-get install -y libpcap0.8 docker-engine | |
ADD hsflowd-ubuntu16_2.0.5-7_amd64.deb /tmp | |
RUN dpkg -i /tmp/hsflowd-ubuntu16_2.0.5-7_amd64.deb | |
ADD hsflowd.conf /etc/hsflowd.conf | |
CMD /etc/init.d/hsflowd start && tail -f /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
started | |
dbg1: my_os_calloc(64) | |
dbg1: my_os_calloc(64) | |
dbg1: my_os_calloc(64) | |
dbg1: my_os_calloc(64) | |
dbg1: my_os_calloc(128) | |
dbg1: my_os_calloc(64) | |
dbg1: my_os_calloc(64) | |
dbg1: my_os_calloc(128) | |
dbg1: my_os_calloc(64) |
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
started | |
dbg1: my_os_calloc(64) | |
dbg1: my_os_calloc(64) | |
dbg1: my_os_calloc(64) | |
dbg1: my_os_calloc(64) | |
dbg1: my_os_calloc(128) | |
dbg1: my_os_calloc(64) | |
dbg1: my_os_calloc(64) | |
dbg1: my_os_calloc(128) | |
dbg1: my_os_calloc(64) |
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
started | |
dbg1: my_os_calloc(64) | |
dbg1: my_os_calloc(64) | |
dbg1: my_os_calloc(64) | |
dbg1: my_os_calloc(64) | |
dbg1: my_os_calloc(128) | |
dbg1: my_os_calloc(64) | |
dbg1: my_os_calloc(64) | |
dbg1: my_os_calloc(128) | |
dbg1: my_os_calloc(64) |
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@devbox ~]# egrep -v '#|^$' values-cert-mgr.yaml | |
replicaCount: 1 | |
image: | |
repository: quay.io/jetstack/cert-manager-controller | |
tag: v0.5.2 | |
pullPolicy: IfNotPresent | |
createCustomResource: true | |
clusterResourceNamespace: "" | |
leaderElection: | |
namespace: "" |
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
### working victoria environment: | |
>>> ip_lib.privileged.get_link_vfs('pt0', '') | |
{0: {'mac': '00:00:00:00:00:00', 'link_state': 0}, 1: {'mac': '00:00:00:00:00:00', 'link_state': 0}, 2: {'mac': '00:00:00:00:00:00', 'link_state': 0}, 3: {'mac': '00:00:00:00:00:00', 'link_state': 0}, 4: {'mac': '00:00:00:00:00:00', 'link_state': 0}, 5: {'mac': '00:00:00:00:00:00', 'link_state': 0}, 6: {'mac': '00:00:00:00:00:00', 'link_state': 0}, 7: {'mac': 'b6:ff:ef:5d:5f:e2', 'link_state': 0}} | |
>>> ip_lib.privileged.get_link_vfs('pt1', '') | |
{0: {'mac': '00:00:00:00:00:00', 'link_state': 0}, 1: {'mac': '00:00:00:00:00:00', 'link_state': 0}, 2: {'mac': '00:00:00:00:00:00', 'link_state': 0}, 3: {'mac': '00:00:00:00:00:00', 'link_state': 0}, 4: {'mac': '00:00:00:00:00:00', 'link_state': 0}, 5: {'mac': '00:00:00:00:00:00', 'link_state': 0}, 6: {'mac': '00:00:00:00:00:00', 'link_state': 0}, 7: {'mac': '00:00:00:00:00:00', 'link_state': 0}} | |
### broken victoria environment: | |
## 63 VFs configured and enabled: | |
cat /sys/class/net/ens2f1/d |
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
{ | |
"builders": [ | |
{ | |
"name": "custom-emr-ami", | |
"type": "amazon-ebs", | |
"skip_region_validation": true, | |
"ami_name": "{{ user `build_name` }}{{ user `prefix` }}-build{{ user `build_number` }}", | |
"communicator": "ssh", | |
"instance_type": "t2.small", | |
"token": "{{ user `aws_session_token` }}", |
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
{ | |
"builders": [ | |
{ | |
"name": "custom-emr-ami", | |
"type": "amazon-ebs", | |
"skip_region_validation": true, | |
"ami_name": "{{ user `build_name` }}{{ user `prefix` }}-build{{ user `build_number` }}", | |
"communicator": "ssh", | |
"instance_type": "t2.small", | |
"token": "{{ user `aws_session_token` }}", |
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
aws --profile temporary-user sts get-session-token &> get-session-token | |
docker run -it --rm --name packer -v $(pwd):/workspace -w /workspace -e PACKER_LOG=1 -e AWS_ACCESS_KEY_ID=$(cat get-session-token | jq -r .Credentials.AccessKeyId) -e AWS_SECRET_ACCESS_KEY=$(cat get-session-token | jq -r .Credentials.SecretAccessKey) -e AWS_SESSION_TOKEN=$(cat get-session-token | jq -r .Credentials.SessionToken) -e AWS_REGION=eu-central-1 hashicorp/packer:1.8.5 build -var AmazonOsReleaseLabel=2.0.20221210.1 -var prefix=my-dev -var packerPath=/tmp/downloads -debug custom-emr-ami.json | |
2023/02/14 11:54:45 [INFO] Packer version: 1.8.5 [go1.18.9 linux amd64] | |
2023/02/14 11:54:45 [TRACE] discovering plugins in /bin | |
2023/02/14 11:54:45 [TRACE] discovering plugins in /root/.config/packer/plugins | |
2023/02/14 11:54:45 [TRACE] discovering plugins in . |
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
docker run -it --rm --name packer -v $(pwd):/workspace -w /workspace -e PACKER_LOG=1 -e AWS_ACCESS_KEY_ID=$(cat get-session-token | jq -r .Credentials.AccessKeyId) -e AWS_SECRET_ACCESS_KEY=$(cat get-session-token | jq -r .Credentials.SecretAccessKey) -e AWS_SESSION_TOKEN=$(cat get-session-token | jq -r .Credentials.SessionToken) -e AWS_REGION=eu-central-1 hashicorp/packer:1.8.5 build -var AmazonOsReleaseLabel=2.0.20221210.1 -var prefix=my-dev -var packerPath=/tmp/downloads -debug custom-emr-ami.json | |
2023/02/14 12:05:44 [INFO] Packer version: 1.8.5 [go1.18.9 linux amd64] | |
2023/02/14 12:05:44 [TRACE] discovering plugins in /bin | |
2023/02/14 12:05:44 [TRACE] discovering plugins in /root/.config/packer/plugins | |
2023/02/14 12:05:44 [TRACE] discovering plugins in . | |
2023/02/14 12:05:44 [INFO] PACKER_CONFIG env var not set; checking the default config file path | |
2023/02/14 12:05:44 [INFO] PACKER_CONFIG env var set; attempting to open config file: /root/.packerconfig | |
2023/02/14 12:05:44 [WARN] Config file doesn't exist: |
OlderNewer