Re: Instance with SSH Key pair

2023-02-06 Thread Wei ZHOU
/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 > >

Re: Instance with SSH Key pair

2023-02-06 Thread Stuart Whitman
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

Re: Instance with SSH Key pair

2023-02-03 Thread Stuart Whitman
@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

Re: Instance with SSH Key pair

2023-02-02 Thread Wei ZHOU
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:

Re: Instance with SSH Key pair

2023-02-01 Thread Stuart Whitman
: 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

Re: Instance with SSH Key pair

2023-01-31 Thread Nux
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.

Re: Instance with SSH Key pair

2023-01-31 Thread Wei ZHOU
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

Re: Instance with SSH Key pair

2023-01-31 Thread Vivek Kumar
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

Instance with SSH Key pair

2023-01-31 Thread Stuart Whitman
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,