Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Manual provisioning of CentOS supported in 2.1 #1647

Closed
axw opened this issue Feb 10, 2017 · 2 comments
Closed

Manual provisioning of CentOS supported in 2.1 #1647

axw opened this issue Feb 10, 2017 · 2 comments

Comments

@axw
Copy link
Contributor

axw commented Feb 10, 2017

With juju/juju#6954, Juju 2.1 (rc1 onwards) will support manual provisioning of CentOS machines. I have tested the CentOS 7 images from linuxcontainers.org in LXD. For those images there are some additional manual steps required to prepare them for manual provisioning:

  • yum install sudo openssh-server redhat-lsb-core
  • set root password (otherwise upon SSH login you will be prompted to reset)
  • systemctl start sshd
  • copy SSH public key to /root/.ssh/authorized_keys in container, chown root:root

With those changes made, you can do "juju add-machine ssh:root@" as per usual.

Can we please get a section added to the docs for this? I guess in clouds-manual?

@evilnick
Copy link
Member

thanks!

@evilnick
Copy link
Member

I will mention the root password issue, but i think that is a consequence of using a LXD image (which I'm not sure will be common usage for manual provider) - a normal from-ISO install requires the root password to be set

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

No branches or pull requests

2 participants