cirros image를 이용해 다른 VM에 ssh로 접근하는 방법에 대하여 알아보도록 하겠다. (사실 이방법은 의미있는 작업은 아니나 debugging이 필요한 VM에 연결 가능한 VM이 cirros밖에 없었던 상황에서 유용하게 쓰여서 간단히 정리해보려 한다.) cirros image에는 openssh client가 아닌 dropbear client가 설치되어 있다. 하여 openssh key를 가지고 연결하려 하니 아래와 같은 에러가 발생되었고 (private-key는 copy&paste로..) $ ssh -i ./openssh-private-key centos@10.10.10.21 ssh: Exited: String too long아래와 같은 변환 작업을 통해 접속이 가능하였다. $ dropbear..
Predefined Should have packages jq (https://stedolan.github.io/jq/download/) openstacksdk (https://docs.openstack.org/openstacksdk/latest/user/) Defined variables for using script. ImageName="centos7" VmName="TestVM" Flavor="m1.large" Keypair="testvm-key"gathering UUID and names flavorUuid=`openstack flavor list -f value | grep $Flavor | awk '{print $1}'` echo "flavor uuid : "$flavorUuid..
jq command installation stedolan.github.io/jq/download/ Examples1 우선 다음과 같은 json data가 있다고 가정하자. jacob@jacob-laptop:~$ cat data.txt { "pools": [ { "name": "volume1", "id": 1, "size_bytes": 100 }, { "name": "volume2", "id": 2, "size_bytes": 200 }, { "name": "volume3", "id": 3, "size_bytes": 300 } ], "total": 600 }pools내에 각 pool내 name, id를 pool에 맞춰서 출력해보도록 하자. jacob@jacob-laptop:~$ cat data.txt | ..
- Total
- Today
- Yesterday
- boundary ssh
- DevSecOps
- vmware openstack
- azure policy
- macvlan
- hashicorp boundary
- ceph
- crashloopbackoff
- Jenkinsfile
- nginx-ingress
- kata container
- aquasecurity
- metallb
- minikube
- kubernetes install
- K3S
- openstack backup
- jenkins
- openstacksdk
- kubernetes
- Terraform
- socket
- wsl2
- minio
- Helm Chart
- GateKeeper
- open policy agent
- ansible
- mattermost
- OpenStack
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |