aboutsummaryrefslogtreecommitdiff
path: root/scripts/p7s/distrobox.py
diff options
context:
space:
mode:
authoralex <alex@pdp7.net>2025-09-07 17:11:56 +0200
committeralexpdp7 <alex@corcoles.net>2025-09-07 17:12:46 +0200
commit7eb68dba62c4138ed25e839c6652f863350f8343 (patch)
treeecb662d05e3bc14f4c89d7535470f8beb075db46 /scripts/p7s/distrobox.py
parentb6b6beeec68031fb5fa0c08629997e1b3b08db54 (diff)
Clean up
* Remove now-unused distrobox * Make homogenous use of setup-*
Diffstat (limited to 'scripts/p7s/distrobox.py')
-rw-r--r--scripts/p7s/distrobox.py22
1 files changed, 0 insertions, 22 deletions
diff --git a/scripts/p7s/distrobox.py b/scripts/p7s/distrobox.py
deleted file mode 100644
index 787f05ef..00000000
--- a/scripts/p7s/distrobox.py
+++ /dev/null
@@ -1,22 +0,0 @@
-import os
-import subprocess
-
-
-IMAGE="quay.io/alexpdp7/workstation:latest"
-NAME="workstation-latest"
-
-
-def create():
- subprocess.run(["distrobox", "create", "-i", IMAGE], check=True)
-
-
-def enter():
- os.execvp("distrobox", ["distrobox", "enter", NAME])
-
-
-def update():
- print("If this fails on ws, systemctl --user stop soju bitlbee // systemctl --user start soju bitlbee")
- subprocess.run(["distrobox", "rm", "-f", NAME], check=True)
- subprocess.run(["podman", "rmi", IMAGE], check=True)
- subprocess.run(["podman", "pull", IMAGE], check=True)
- subprocess.run(["distrobox", "create", "-i", IMAGE], check=True)