fix @ctuser setup
This commit is contained in:
parent
314bf18887
commit
318b908637
1 changed files with 5 additions and 1 deletions
|
@ -128,9 +128,13 @@ loginctl enable-linger $ctuser
|
||||||
>
|
>
|
||||||
> [reddit post](https://old.reddit.com/r/linuxadmin/comments/rxrczr/in_interesting_tidbit_i_just_learned_about_the/)
|
> [reddit post](https://old.reddit.com/r/linuxadmin/comments/rxrczr/in_interesting_tidbit_i_just_learned_about_the/)
|
||||||
|
|
||||||
|
Install systemd-container
|
||||||
|
`sudo apt install systemd-container`
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Switch to $ctuser
|
# Switch to $ctuser
|
||||||
machinectl shell $ctuser
|
# Note do not remove the trailing @
|
||||||
|
machinectl shell $ctuser@ /bin/bash
|
||||||
# Create dirs
|
# Create dirs
|
||||||
mkdir -p ~/.config/{containers/systemd,environment.d} ~/containers/storage
|
mkdir -p ~/.config/{containers/systemd,environment.d} ~/containers/storage
|
||||||
# Prepare `systemd --user` env
|
# Prepare `systemd --user` env
|
||||||
|
|
Loading…
Add table
Reference in a new issue