Skip to content

Commit

Permalink
dbxc: Don't bother with user password in OrbStack
Browse files Browse the repository at this point in the history
Signed-off-by: Nathan Chancellor <[email protected]>
  • Loading branch information
nathanchance committed Dec 4, 2023
1 parent aa2cc3c commit 38a0b90
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion fish/functions/dbxc.fish
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ function dbxc -d "Shorthand for 'distrobox create'"
end
if in_orb
set -a dbx_args --volume $MAC_FOLDER:$MAC_FOLDER
# OrbStack has passwordless sudo, we don't need to bother with a password in distrobox
set -a dbx_args --absolutely-disable-root-password-i-am-really-positively-sure
end
if test -d $OPT_ORB_GUEST
set -a dbx_args --volume $OPT_ORB_GUEST:$OPT_ORB_GUEST
Expand All @@ -86,7 +88,6 @@ function dbxc -d "Shorthand for 'distrobox create'"
set -a add_args --volume=/etc/pacman.d/mirrorlist:/etc/pacman.d/mirrorlist:ro
end


set env_dbx $ENV_FOLDER/.distrobox

if test "$mode" = create
Expand Down

0 comments on commit 38a0b90

Please sign in to comment.