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')
A recreate for this is as simple as: user.user- data=$ud"
$ ud=$(printf '%s\n%s\n' '#!/bin/sh' 'ssh-import-id smoser')
$ lxc launch ubuntu-daily:xenial "--config=
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')