Skip to content

Debian / Ubuntu compability changes#1

Open
prasmussen wants to merge 5 commits into
TritonDataCenter:masterfrom
prasmussen:master
Open

Debian / Ubuntu compability changes#1
prasmussen wants to merge 5 commits into
TritonDataCenter:masterfrom
prasmussen:master

Conversation

@prasmussen
Copy link
Copy Markdown

I could not get vmtools to work on the latest ubuntu and debian releases. I've made som changes to get them to work. Tested on Ubuntu 12.04 and Debian 6.0.5. Changes explained below.

2c71461

rc.local was not installed on debian based systems. rc.local is needed to regenerate the ssh keys at first boot.

3c0654f

rc.local on Ubuntu did not regenerate the ssh keys. Now it does.

0283548

The prepare image script checks if the root password is empty. The check was done one the shadow backup file, the check should probably be done on the main shadow file. Also, Ubuntu has '!' has a password hash for the root user as default which should be accepted as an empty password.

87a577c

The networking-interfaces-config.conf script did not work on Ubuntu. As far as i could figure out, upsert scripts is run by sh, and the array expansion is invalid in sh.

c181d82

I've added a section on the metadata api in the readme.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant