feat: add incus
- manage the build of incus, incus-tools and incus-client
This commit is contained in:
Executable
+4
@@ -0,0 +1,4 @@
|
||||
#!/usr/bin/bash
|
||||
nfpm pkg --config /app/resources/nfpm_incus.yaml --target /app/dist --packager rpm && \
|
||||
nfpm pkg --config /app/resources/nfpm_incus-client.yaml --target /app/dist --packager rpm && \
|
||||
nfpm pkg --config /app/resources/nfpm_incus-tools.yaml --target /app/dist --packager rpm
|
||||
Executable
+2
@@ -0,0 +1,2 @@
|
||||
#!/usr/bin/env bash
|
||||
systemctl daemon-reload
|
||||
Executable
+5
@@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
systemctl daemon-reload
|
||||
rm -rf /usr/libexec/incus
|
||||
groupdel incus-admin
|
||||
groupdel incus
|
||||
Executable
+4
@@ -0,0 +1,4 @@
|
||||
#!/usr/bin/env bash
|
||||
mkdir -p /usr/libexec/incus/
|
||||
groupadd --system incus-admin
|
||||
groupadd --system incus
|
||||
Executable
+6
@@ -0,0 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
systemctl stop incus.service
|
||||
systemctl stop incus.socket
|
||||
systemctl stop incus-user.service
|
||||
systemctl stop incus-user.socket
|
||||
systemctl stop incus-startup.service
|
||||
Reference in New Issue
Block a user