From b0dc5d99f28cbd15472527fbcc3a2609a60557b2 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Wed, 19 Jan 2022 23:32:03 +0100 Subject: [PATCH] Dev on bullseye by default --- ynh-dev | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/ynh-dev b/ynh-dev index 28a9930..9db0093 100755 --- a/ynh-dev +++ b/ynh-dev @@ -6,10 +6,10 @@ function show_usage() { ${BLUE}On the host, to manage the LXC${NORMAL} ${BLUE}==============================${NORMAL} - start [DIST] [NAME] [YNH_BRANCH] (Create and) starts a LXC (DIST=buster, NAME=ynh-dev and YNH_BRANCH=unstable by default) - attach [DIST] [NAME] [YNH_BRANCH] Attach an already started LXC (DIST=buster, NAME=ynh-dev and YNH_BRANCH=unstable by default) - destroy [DIST] [NAME] [YNH_BRANCH] Destroy the ynh-dev LXC (DIST=buster, NAME=ynh-dev and YNH_BRANCH=unstable by default) - rebuild [DIST] [NAME] [YNH_BRANCH] Rebuild a fresh, up-to-date box (DIST=buster, NAME=ynh-dev and YNH_BRANCH=unstable by default) + start [DIST] [NAME] [YNH_BRANCH] (Create and) starts a LXC (DIST=bullseye, NAME=ynh-dev and YNH_BRANCH=unstable by default) + attach [DIST] [NAME] [YNH_BRANCH] Attach an already started LXC (DIST=bullseye, NAME=ynh-dev and YNH_BRANCH=unstable by default) + destroy [DIST] [NAME] [YNH_BRANCH] Destroy the ynh-dev LXC (DIST=bullseye, NAME=ynh-dev and YNH_BRANCH=unstable by default) + rebuild [DIST] [NAME] [YNH_BRANCH] Rebuild a fresh, up-to-date box (DIST=bullseye, NAME=ynh-dev and YNH_BRANCH=unstable by default) ${BLUE}Inside the dev instance${NORMAL} ${BLUE}=======================${NORMAL} @@ -132,7 +132,7 @@ function start_ynhdev() { check_lxd_setup - local DIST=${1:-buster} + local DIST=${1:-bullseye} local YNH_BRANCH=${3:-unstable} local BOX=${2:-ynh-dev}-${DIST}-${YNH_BRANCH} @@ -158,7 +158,7 @@ function start_ynhdev() function attach_ynhdev() { check_lxd_setup - local DIST=${1:-buster} + local DIST=${1:-bullseye} local YNH_BRANCH=${3:-unstable} local BOX=${2:-ynh-dev}-${DIST}-${YNH_BRANCH} sudo lxc start $BOX 2>/dev/null || true @@ -168,7 +168,7 @@ function attach_ynhdev() function destroy_ynhdev() { check_lxd_setup - local DIST=${1:-buster} + local DIST=${1:-bullseye} local YNH_BRANCH=${3:-unstable} local BOX=${2:-ynh-dev}-${DIST}-${YNH_BRANCH} sudo lxc stop $BOX @@ -179,7 +179,7 @@ function rebuild_ynhdev() { check_lxd_setup - local DIST=${1:-buster} + local DIST=${1:-bullseye} local YNH_BRANCH=${3:-unstable} local BOX=${2:-ynh-dev}-${DIST}-${YNH_BRANCH}