clearlinux / micro-config-drive

An alternative and small cloud-init implementation in C
Other
46 stars 17 forks source link

sudo lines should auto-prepend username. #11

Closed sofar closed 8 years ago

sofar commented 8 years ago
users:
  - name: ciao
    sudo: ciao ALL=(ALL) NOPASSWD:ALL

the above snipplet doesn't work on fedora or ubuntu, but is the format that clr-cloud-init requires. This is conflicting and difficult for users. We should adopt the method of the other implementations and auto-prepend the username in the sudo line.

devimc commented 8 years ago

fixed a102bba2584692a19ff9fd39089f4e6d1802693e