~ci-train-bot/libertine/libertine-ubuntu-zesty-2086

« back to all changes in this revision

Viewing changes to tools/libertine-container-manager

  • Committer: Chris Townsend
  • Date: 2016-07-15 18:39:58 UTC
  • mto: This revision was merged to the branch mainline in revision 272.
  • Revision ID: christopher.townsend@canonical.com-20160715183958-l95grj44p272lfz4
Rework the whole way we handle updating the necessary system files for unprivileged LXC's:
- Add new script that does the updates.
- Add sudoers file for this script.
- Remove the password dialog in the UI.

Show diffs side-by-side

added added

removed removed

Lines of Context:
74
74
            if args.password:
75
75
                password = args.password
76
76
            elif sys.stdin.isatty():
77
 
                print("Your user password is required for creating a Libertine container.")
 
77
                print("Enter password for your user in the Libertine container or leave blank for no password:")
78
78
                password = getpass.getpass()
79
79
            else:
80
80
                password = sys.stdin.readline().rstrip()