Skip to content

Commit 6e51ef1

Browse files
committed
Fix overwrite of ssh keys
1 parent fab5856 commit 6e51ef1

File tree

1 file changed

+39
-30
lines changed

1 file changed

+39
-30
lines changed
Lines changed: 39 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,52 @@
1-
apt_update: true
2-
apt_upgrade: true
31
packages:
4-
- nfs-common
5-
- nfs-ganesha
6-
- git
7-
- parallel
8-
- dnsutils
2+
# BUG: some of these packages will overwrite openstack SSH keys by updating sshd
3+
# - nfs-common
4+
# - nfs-ganesha
5+
# - git
6+
# - parallel
7+
# - dnsutils
98

10-
# docker
11-
- apt-transport-https
12-
- ca-certificates
13-
- curl
14-
- gnupg
15-
- lsb-release
16-
- unattended-upgrades
9+
# # docker
10+
# - apt-transport-https
11+
# - ca-certificates
12+
# - curl
13+
# - gnupg
14+
# - lsb-release
15+
# - unattended-upgrades
16+
# write_files:
17+
# - path: /etc/cloud/templates/hosts.debian.tmpl
18+
# append: true
19+
# content: |
20+
# 10.10.29.10 gateway
21+
# 10.10.29.11 app
22+
# 10.10.29.12 runner
23+
# 10.10.29.21 node1
24+
# 10.250.23.242 eo-storage01.eodc
25+
# 10.250.23.231 eo-storage02.eodc
1726
mounts:
18-
- ["eo-storage01.eodc:/", "/eodc", "nfs4", "ro", "0", "0"]
27+
# - ["eo-storage01.eodc:/", "/eodc", "nfs4", "ro", "0", "0"]
1928
- ["/dev/vdc", "/home", "ext4", "rw", "0", "0"]
2029
runcmd:
2130
# disks
2231
- mkfs -t ext4 /dev/vdc
2332
- mkdir /home
2433
- mount -a
2534

26-
# docker
27-
- install -m 0755 -d /etc/apt/keyrings
28-
- curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc
29-
- chmod a+r /etc/apt/keyrings/docker.asc
30-
- echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/debian $(. /etc/os-release && echo "$VERSION_CODENAME") stable" | tee /etc/apt/sources.list.d/docker.list > /dev/null
31-
- apt-get update
32-
- apt-get install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
35+
# # docker
36+
# - install -m 0755 -d /etc/apt/keyrings
37+
# - curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc
38+
# - chmod a+r /etc/apt/keyrings/docker.asc
39+
# - echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/debian $(. /etc/os-release && echo "$VERSION_CODENAME") stable" | tee /etc/apt/sources.list.d/docker.list > /dev/null
40+
# - apt-get update
41+
# - apt-get install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
3342

34-
# github actions runner
35-
- cd ~
36-
- curl -o actions-runner-linux-x64-2.321.0.tar.gz -L https://github.com/actions/runner/releases/download/v2.321.0/actions-runner-linux-x64-2.321.0.tar.gz
37-
- echo "ba46ba7ce3a4d7236b16fbe44419fb453bc08f866b24f04d549ec89f1722a29e actions-runner-linux-x64-2.321.0.tar.gz" | shasum -a 256 -c
43+
# # github actions runner
44+
# - cd ~
45+
# - curl -o actions-runner-linux-x64-2.321.0.tar.gz -L https://github.com/actions/runner/releases/download/v2.321.0/actions-runner-linux-x64-2.321.0.tar.gz
46+
# - echo "ba46ba7ce3a4d7236b16fbe44419fb453bc08f866b24f04d549ec89f1722a29e actions-runner-linux-x64-2.321.0.tar.gz" | shasum -a 256 -c
3847

39-
# config runner one by one
40-
# parallel tar xzf ./actions-runner-linux-x64-2.321.0.tar.gz --one-top-level=runner-{1}-{2} ::: FAIRSenDD RQADeforestation.jl ::: $(seq 3)
41-
#- ./config.sh --url https://github.com/EarthyScience/FAIRSenDD --token ${GH_RUNNER_TOKEN} &
42-
#- nohup ./run.sh &
48+
# # config runner one by one
49+
# - parallel tar xzf ./actions-runner-linux-x64-2.321.0.tar.gz --one-top-level=runner-{1}-{2} ::: FAIRSenDD RQADeforestation.jl ::: $(seq 3)
50+
# - ./config.sh --url https://github.com/EarthyScience/FAIRSenDD --token ${GH_RUNNER_TOKEN} &
51+
# - nohup ./run.sh &
4352

0 commit comments

Comments
 (0)