TritonDataCenter / sdc-vmtools-lx-brand

The guest tools for lx-brand images
https://docs.joyent.com/images/container-native-linux
Mozilla Public License 2.0
7 stars 10 forks source link

remove correct file if failed to get root_authorized_keys #9

Closed sjorge closed 9 years ago

sjorge commented 9 years ago

Yeah that looks correct, disregards the comment in my previous e-mail too. I skipped over the check earlier on.

chorrell commented 9 years ago

Great, can you make that change and push another commit?

sjorge commented 9 years ago

Done. For completeness, my remark was that this would clobber /root/.ssh/authorized_keys if we remove both. This is not the case because there is a check beforehand to skip this if the file exists.

chorrell commented 9 years ago

LGTM