21 lines
404 B
Plaintext
21 lines
404 B
Plaintext
|
#! /bin/sh
|
||
|
me=$(basename $(pwd))
|
||
|
image=git.woozle.org/neale/toolbox
|
||
|
|
||
|
podman pull $image
|
||
|
podman rm $me
|
||
|
podman run \
|
||
|
--name $me \
|
||
|
--hostname oscar \
|
||
|
--security-opt label=disable \
|
||
|
--privileged \
|
||
|
--network host \
|
||
|
--pid host \
|
||
|
--volume /srv/sys/oscar:/mnt/toolbox \
|
||
|
--volume /srv:/srv \
|
||
|
--volume /media:/media \
|
||
|
--volume /home:/home \
|
||
|
--volume /dev:/dev \
|
||
|
--volume /:/host \
|
||
|
$image
|