A recreate for this is as simple as: $ ud=$(printf '%s\n%s\n' '#!/bin/sh' 'ssh-import-id smoser') $ lxc launch ubuntu-daily:xenial "--config=user.user-data=$ud"
A work around is to just to set the HOME environment: $ ud=$(printf '%s\n%s\n' '#!/bin/sh' 'HOME=/root ssh-import-id smoser') -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1570997 Title: fail if HOME environment variable is not set To manage notifications about this bug go to: https://bugs.launchpad.net/ssh-import-id/+bug/1570997/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
