=== modified file 'zsh-functions/confz_site_containers_init' --- old/zsh-functions/confz_site_containers_init 2021-01-15 17:20:15 +0000 +++ new/zsh-functions/confz_site_containers_init 2021-01-15 16:49:33 +0000 @@ -2,30 +2,17 @@ confz_site_containers_user_check() { checkvars containers_dir svscan_dir user - local display container bind bind_dir container_user_dir - local -a fstab - bind=$'\tnone\tbind,nosuid,nodev\t0 0' - + local display container for display in 5 6 7 8; do require container_service_xsession \ display_number=$display image_name=alpine-xsession \ :containers_dir :svscan_dir :user done - for container in alpine-{games,browsers}; do + for container in alpine-{games,dev,browsers}; do require container_service_generic \ image_name=$container \ :containers_dir :svscan_dir :user done - - # bind-mounts for alpine-dev - container_user_dir=$vars[containers_dir]/user/$vars[user]/alpine-dev - fstab=( ) - for bind_dir in /home/$vars[user]/{bzr,development,git}; do - fstab+=( $bind_dir$'\t'$container_user_dir/${bind_dir#/}$bind - done - require container_service_generic \ - image_name=alpine-dev fstab_extra=${(F)fstab} \ - :containers_dir :svscan_dir :user } confz_site_containers_check() {