mirror of
https://github.com/tommytran732/Fedora-CoreOS-Ignition
synced 2024-11-22 17:21:34 -05:00
Enable gvisor updater
Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
parent
e1bb116517
commit
e04ff2250e
File diff suppressed because one or more lines are too long
@ -59,6 +59,29 @@ systemd:
|
|||||||
ExecStart=/usr/sbin/setsebool virt_use_nfs off
|
ExecStart=/usr/sbin/setsebool virt_use_nfs off
|
||||||
ExecStart=/usr/sbin/setsebool virt_use_samba off
|
ExecStart=/usr/sbin/setsebool virt_use_samba off
|
||||||
RemainAfterExit=yes
|
RemainAfterExit=yes
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
||||||
|
- name: gvisor-updater.service
|
||||||
|
enabled: true
|
||||||
|
contents: |
|
||||||
|
[Unit]
|
||||||
|
Description=gVisor Update
|
||||||
|
Require=network-online.target
|
||||||
|
Before=docker.service
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
WorkingDirectory=/var/roothome
|
||||||
|
Type=oneshot
|
||||||
|
ExecStart=/usr/bin/sleep 5
|
||||||
|
ExecStart=/usr/bin/curl -O https://storage.googleapis.com/gvisor/releases/release/latest/x86_64/runsc
|
||||||
|
ExecStart=/usr/bin/curl -O https://storage.googleapis.com/gvisor/releases/release/latest/x86_64/runsc.sha512
|
||||||
|
ExecStart=/usr/bin/curl -O https://storage.googleapis.com/gvisor/releases/release/latest/x86_64/containerd-shim-runsc-v1
|
||||||
|
ExecStart=/usr/bin/curl -O https://storage.googleapis.com/gvisor/releases/release/latest/x86_64/containerd-shim-runsc-v1.sha512
|
||||||
|
ExecStart=/usr/bin/sha512sum -c runsc.sha512 -c containerd-shim-runsc-v1.sha512
|
||||||
|
ExecStart=/usr/bin/rm -f runsc.sha512 containerd-shim-runsc-v1.sha512
|
||||||
|
ExecStart=/usr/bin/chmod a+rx runsc containerd-shim-runsc-v1
|
||||||
|
ExecStart=/usr/bin/mv runsc containerd-shim-runsc-v1 /var/usrlocal/bin
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
- name: docker.service
|
- name: docker.service
|
||||||
@ -144,29 +167,6 @@ storage:
|
|||||||
ExecStart=/usr/bin/docker-compose up -d
|
ExecStart=/usr/bin/docker-compose up -d
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=multi-user.target
|
|
||||||
- path: /etc/systemd/system/gvisor-updater.service
|
|
||||||
contents:
|
|
||||||
inline: |
|
|
||||||
[Unit]
|
|
||||||
Description=gVisor Update
|
|
||||||
Require=network-online.target
|
|
||||||
Before=docker.service
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
WorkingDirectory=/var/roothome
|
|
||||||
Type=oneshot
|
|
||||||
ExecStart=/usr/bin/sleep 5
|
|
||||||
ExecStart=/usr/bin/curl -O https://storage.googleapis.com/gvisor/releases/release/latest/x86_64/runsc
|
|
||||||
ExecStart=/usr/bin/curl -O https://storage.googleapis.com/gvisor/releases/release/latest/x86_64/runsc.sha512
|
|
||||||
ExecStart=/usr/bin/curl -O https://storage.googleapis.com/gvisor/releases/release/latest/x86_64/containerd-shim-runsc-v1
|
|
||||||
ExecStart=/usr/bin/curl -O https://storage.googleapis.com/gvisor/releases/release/latest/x86_64/containerd-shim-runsc-v1.sha512
|
|
||||||
ExecStart=/usr/bin/sha512sum -c runsc.sha512 -c containerd-shim-runsc-v1.sha512
|
|
||||||
ExecStart=/usr/bin/rm -f runsc.sha512 containerd-shim-runsc-v1.sha512
|
|
||||||
ExecStart=/usr/bin/chmod a+rx runsc containerd-shim-runsc-v1
|
|
||||||
ExecStart=/usr/bin/mv runsc containerd-shim-runsc-v1 /var/usrlocal/bin
|
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
- path: /etc/unbound/unbound.conf
|
- path: /etc/unbound/unbound.conf
|
||||||
|
File diff suppressed because one or more lines are too long
46
Generic.yml
46
Generic.yml
@ -77,6 +77,29 @@ systemd:
|
|||||||
ExecStart=/usr/sbin/setsebool virt_use_nfs off
|
ExecStart=/usr/sbin/setsebool virt_use_nfs off
|
||||||
ExecStart=/usr/sbin/setsebool virt_use_samba off
|
ExecStart=/usr/sbin/setsebool virt_use_samba off
|
||||||
RemainAfterExit=yes
|
RemainAfterExit=yes
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
||||||
|
- name: gvisor-updater.service
|
||||||
|
enabled: true
|
||||||
|
contents: |
|
||||||
|
[Unit]
|
||||||
|
Description=gVisor Update
|
||||||
|
Require=network-online.target
|
||||||
|
Before=docker.service
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
WorkingDirectory=/var/roothome
|
||||||
|
Type=oneshot
|
||||||
|
ExecStart=/usr/bin/sleep 5
|
||||||
|
ExecStart=/usr/bin/curl -O https://storage.googleapis.com/gvisor/releases/release/latest/x86_64/runsc
|
||||||
|
ExecStart=/usr/bin/curl -O https://storage.googleapis.com/gvisor/releases/release/latest/x86_64/runsc.sha512
|
||||||
|
ExecStart=/usr/bin/curl -O https://storage.googleapis.com/gvisor/releases/release/latest/x86_64/containerd-shim-runsc-v1
|
||||||
|
ExecStart=/usr/bin/curl -O https://storage.googleapis.com/gvisor/releases/release/latest/x86_64/containerd-shim-runsc-v1.sha512
|
||||||
|
ExecStart=/usr/bin/sha512sum -c runsc.sha512 -c containerd-shim-runsc-v1.sha512
|
||||||
|
ExecStart=/usr/bin/rm -f runsc.sha512 containerd-shim-runsc-v1.sha512
|
||||||
|
ExecStart=/usr/bin/chmod a+rx runsc containerd-shim-runsc-v1
|
||||||
|
ExecStart=/usr/bin/mv runsc containerd-shim-runsc-v1 /var/usrlocal/bin
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
- name: docker.service
|
- name: docker.service
|
||||||
@ -144,29 +167,6 @@ storage:
|
|||||||
inline: |
|
inline: |
|
||||||
GSSAPIAuthentication no
|
GSSAPIAuthentication no
|
||||||
VerifyHostKeyDNS yes
|
VerifyHostKeyDNS yes
|
||||||
- path: /etc/systemd/system/gvisor-updater.service
|
|
||||||
contents:
|
|
||||||
inline: |
|
|
||||||
[Unit]
|
|
||||||
Description=gVisor Update
|
|
||||||
Require=network-online.target
|
|
||||||
Before=docker.service
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
WorkingDirectory=/var/roothome
|
|
||||||
Type=oneshot
|
|
||||||
ExecStart=/usr/bin/sleep 5
|
|
||||||
ExecStart=/usr/bin/curl -O https://storage.googleapis.com/gvisor/releases/release/latest/x86_64/runsc
|
|
||||||
ExecStart=/usr/bin/curl -O https://storage.googleapis.com/gvisor/releases/release/latest/x86_64/runsc.sha512
|
|
||||||
ExecStart=/usr/bin/curl -O https://storage.googleapis.com/gvisor/releases/release/latest/x86_64/containerd-shim-runsc-v1
|
|
||||||
ExecStart=/usr/bin/curl -O https://storage.googleapis.com/gvisor/releases/release/latest/x86_64/containerd-shim-runsc-v1.sha512
|
|
||||||
ExecStart=/usr/bin/sha512sum -c runsc.sha512 -c containerd-shim-runsc-v1.sha512
|
|
||||||
ExecStart=/usr/bin/rm -f runsc.sha512 containerd-shim-runsc-v1.sha512
|
|
||||||
ExecStart=/usr/bin/chmod a+rx runsc containerd-shim-runsc-v1
|
|
||||||
ExecStart=/usr/bin/mv runsc containerd-shim-runsc-v1 /var/usrlocal/bin
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=multi-user.target
|
|
||||||
- path: /etc/unbound/unbound.conf
|
- path: /etc/unbound/unbound.conf
|
||||||
overwrite: true
|
overwrite: true
|
||||||
contents:
|
contents:
|
||||||
|
Loading…
Reference in New Issue
Block a user