-
Notifications
You must be signed in to change notification settings - Fork 20
Description
Thanks for the awesome work, I'm using this to run a CoreOS instance under xhyve on OSX (I merged the sample cloud-init scripts here with the cloud-init script from coreos-osx).
I was playing with rkt and was getting tired of being required to add "sudo" in front of it each time...
I confirmed the rkt group existed:
getent group | cut -d: -f1 | grep rkt
I ensured core user was a member of rkt group (by adding again):
sudo gpasswd -a core rkt
I verified that rkt was in the list of groups current user belonged to:
id -Gn
Finally, I verified the permissions on the /var/lib/rkt path, and realized I had to change the group:
sudo chgrp -R rkt /var/lib/rkt/
At this point I was able to run rkt without the sudo command. I've submitted a pull request to the cloud-init file of coreos-osx to fix this.
TheNewNormal/coreos-osx#70
However, it may be better to refer to the official rkt distribution script