bdb90155bb
FreeBSD guest tools to enabled compatability with SmartOS and Triton. WWW: https://github.com/joyent/freebsd-kvm-image-builder/tree/master/triton-freebsd-guesttools
11 lines
484 B
Text
11 lines
484 B
Text
--- lib/smartdc/set-root-authorized-keys.orig 2017-05-22 19:41:07 UTC
|
|
+++ lib/smartdc/set-root-authorized-keys
|
|
@@ -7,7 +7,7 @@
|
|
# By default this script is called on each boot
|
|
|
|
# load common functions and vars
|
|
-. /lib/smartdc/common.lib
|
|
+. %%PREFIX%%/lib/smartdc/common.lib
|
|
|
|
if [[ ! -f /root/.ssh/authorized_keys ]]; then
|
|
authorized_keys=$($MDATA_GET root_authorized_keys | awk '{ sub(/(ssh-rsa )/,"\n&"); print }' | awk '{ sub(/(ssh-dss )/,"\n&"); print }' 2>>/dev/console)
|