Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

lxc command not found

# check whether current user i a member of group lxd
`groups $USER`
#if current $USER not member of group lxd
	#create group lxd
    `groupadd lxd`
    #add user to group lxd
    `usermod -aG lxd $USER`
#close terminal for groups membership to effect

#Alternatively, switch to root user and excure lxd command as root-bad idea but works
 #on ubuntu/debian - type
   `su`
 
PREVIOUS NEXT
Tagged: #lxc #command
ADD COMMENT
Topic
Name
9+5 =