/systemd/system/cloud-init.target.wants/cloud-init.service resolved
> the problem.
>
> -Stu
>
> From: Stuart Whitman
> Sent: Friday, February 3, 2023 1:26 PM
> To: [email protected]
> Subject: Re: Instance with SSH Key pair
>
>
From: Stuart Whitman
Sent: Friday, February 3, 2023 1:26 PM
To: [email protected]
Subject: Re: Instance with SSH Key pair
Hello Wei,
I started a Rocky 8.7 minimum instance from an ISO file. I followed the
instructions you provided for installing and configuring cloud-init and
creating
@cloudstack.apache.org
Subject: Re: Instance with SSH Key pair
Hi Stuart,
cloud-init does support Cloudstack . You need to specify the datasource in
cloud-init configuration.
The datasource can be ConfigDrive (if you use config drive to save
userdata) or CloudStack (if metadata/userdata server is CloudStack
required?
>
> I also tried to provide user data to create another account. It did not
> work. Does your image support user data?
>
> Thanks for the help,
> -Stu
>
> From: Wei ZHOU
> Sent: Tuesday, January 31, 2023 5:03 PM
> To:
: Wei ZHOU
Sent: Tuesday, January 31, 2023 5:03 PM
To: [email protected]
Subject: Re: Instance with SSH Key pair
Hi,
The built-in centos 5.5 template does not support sshkey in configdrive iso.
You can use my template for testing , which is also used by component test
test_configdri
Or if you want something _very_ small & quick to deploy which supports
password feature, sshkey as well as user scripts:
http://dl.openvm.eu/cloudstack/macchinina/x86_64/macchinina-kvm.qcow2.bz2
If you add it without "password enabled", then you can login as
root/password similar to CentOS one.
Hi,
The built-in centos 5.5 template does not support sshkey in configdrive iso.
You can use my template for testing , which is also used by component test
test_configdrive.py. You can register the template with url
http://people.apache.org/~weizhou/centos55-sshkey-configdrive.qcow2.bz2
-Wei
O
I am not sure if that template has cloud-init installed or not, so cloud-init
enabled templates with cloudstack datasource are usually work with ssh-keys. So
check if you have cloud-init package installed or not.
https://docs.cloudstack.apache.org/en/latest/adminguide/templates/_cloud_init.htm
Hello,
When I launch an instance with an SSH key pair selected using the CentOS
5.5(64-bit) no GUI (KVM) template that comes with CloudStack, I cannot sign in
using the SSH key. I configured the zone with basic networking and enabled the
ConfigDrive network service provider.
The instance runs,