Re: Instance with SSH Key pair

2023-02-06 Thread Wei ZHOU
Great Stuart.

Thanks for sharing !

-Wei

On Mon, 6 Feb 2023 at 15:28, Stuart Whitman 
wrote:

> I finally discovered the right google search terms to find this:
> https://bugs.launchpad.net/cloud-init/+bug/1998655
>
> Adding After=NetworkManager-wait-online.service​ to
> /etc/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: users@cloudstack.apache.org 
> 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 a template from an instance. However, when I boot the new
> instance, the SSH key is not installed. When I use the password to sign in,
> the cloud-init logs say it could not find the data-server. If I reboot from
> the command line, my SSH key works, and the cloud-init logs indicate it
> found the data-server IP address. If I stop and start the instance from
> CloudStack, the SSH key still works, but the cloud-init logs again say it
> cannot find the data-server.
>
> Any idea why cloud-init is able to find the IP for the data-server when
> the instance is rebooted but not when it is started from CloudStack?
>
> -Stu
>
> 
> From: Wei ZHOU 
> Sent: Thursday, February 2, 2023 3:34 AM
> To: users@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
> VirtualRouter)
>
> Please refer to
>
> https://usg02.safelinks.protection.office365.us/?url=http%3A%2F%2Fdocs.cloudstack.apache.org%2Fen%2Flatest%2Fadminguide%2Ftemplates%2F_cloud_init.html&data=05%7C01%7Cswhitman%40groupw.com%7C886e783475554054037708db0614390d%7C5746ff41c91e439b81427cff90226280%7C0%7C0%7C638110456174147769%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000%7C%7C%7C&sdata=mwaB%2BZ5gMto3qgp5Jg5dXP3cg8Zx%2FgAUmN2JKXgqbhY%3D&reserved=0
>
> -Wei
>
>
>
> -Wei
>
> On Wed, 1 Feb 2023 at 20:12, Stuart Whitman 
> wrote:
>
> > Hello Wei,
> >
> > Using your template, I can sign into an instance using ssh keys.
> >
> > As the instance boots, I notice error messages about failing to mount
> > /mnt/configdrive. Sorry, but I cannot find those messages in the log file
> > to copy into this email. Should I try to fix this error?
> >
> > I noticed that the image has custom scripts in /etc/init.d to request
> > passwords and SSH keys. Another user, Vivek Kumar, provided links
> > discussing a script called cloud-init. I tried to use a Rocky Linux 8
> cloud
> > image but failed to sign in using SSH keys. I believe I read that Rocky
> > cloud images have cloud-init installed. Is cloud-init compatible with
> > CloudStack's SSH key config, or are the scripts in your image 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: users@cloudstack.apache.org 
> > 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_configdrive.py. You can register the template with url
> >
> >
> https://usg02.safelinks.protection.office365.us/?url=http%3A%2F%2Fpeople.apache.org%2F~weizhou%2Fcentos55-sshkey-configdrive.qcow2.bz2&data=05%7C01%7Cswhitman%40groupw.com%7C886e783475554054037708db0614390d%7C5746ff41c91e439b81427cff90226280%7C0%7C0%7C638110456174147769%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000%7C%7C%7C&sdata=IfkzP2PrDeMZeHEJl%2FODhc8ExLEiyh9pALYJbmc4OEs%3D&reserved=0
> >
> > -Wei
> >
> >
> > On Tuesday, 31 January 2023, Stuart Whitman  >
> > wrote:
> >
> > > 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 th

Re: Instance with SSH Key pair

2023-02-06 Thread Stuart Whitman
I finally discovered the right google search terms to find this:
https://bugs.launchpad.net/cloud-init/+bug/1998655

Adding After=NetworkManager-wait-online.service​ to 
/etc/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: users@cloudstack.apache.org 
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 a template from an instance. However, when I boot the new instance, 
the SSH key is not installed. When I use the password to sign in, the 
cloud-init logs say it could not find the data-server. If I reboot from the 
command line, my SSH key works, and the cloud-init logs indicate it found the 
data-server IP address. If I stop and start the instance from CloudStack, the 
SSH key still works, but the cloud-init logs again say it cannot find the 
data-server.

Any idea why cloud-init is able to find the IP for the data-server when the 
instance is rebooted but not when it is started from CloudStack?

-Stu


From: Wei ZHOU 
Sent: Thursday, February 2, 2023 3:34 AM
To: users@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
VirtualRouter)

Please refer to
https://usg02.safelinks.protection.office365.us/?url=http%3A%2F%2Fdocs.cloudstack.apache.org%2Fen%2Flatest%2Fadminguide%2Ftemplates%2F_cloud_init.html&data=05%7C01%7Cswhitman%40groupw.com%7C886e783475554054037708db0614390d%7C5746ff41c91e439b81427cff90226280%7C0%7C0%7C638110456174147769%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000%7C%7C%7C&sdata=mwaB%2BZ5gMto3qgp5Jg5dXP3cg8Zx%2FgAUmN2JKXgqbhY%3D&reserved=0

-Wei



-Wei

On Wed, 1 Feb 2023 at 20:12, Stuart Whitman 
wrote:

> Hello Wei,
>
> Using your template, I can sign into an instance using ssh keys.
>
> As the instance boots, I notice error messages about failing to mount
> /mnt/configdrive. Sorry, but I cannot find those messages in the log file
> to copy into this email. Should I try to fix this error?
>
> I noticed that the image has custom scripts in /etc/init.d to request
> passwords and SSH keys. Another user, Vivek Kumar, provided links
> discussing a script called cloud-init. I tried to use a Rocky Linux 8 cloud
> image but failed to sign in using SSH keys. I believe I read that Rocky
> cloud images have cloud-init installed. Is cloud-init compatible with
> CloudStack's SSH key config, or are the scripts in your image 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: users@cloudstack.apache.org 
> 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_configdrive.py. You can register the template with url
>
> https://usg02.safelinks.protection.office365.us/?url=http%3A%2F%2Fpeople.apache.org%2F~weizhou%2Fcentos55-sshkey-configdrive.qcow2.bz2&data=05%7C01%7Cswhitman%40groupw.com%7C886e783475554054037708db0614390d%7C5746ff41c91e439b81427cff90226280%7C0%7C0%7C638110456174147769%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000%7C%7C%7C&sdata=IfkzP2PrDeMZeHEJl%2FODhc8ExLEiyh9pALYJbmc4OEs%3D&reserved=0
>
> -Wei
>
>
> On Tuesday, 31 January 2023, Stuart Whitman 
> wrote:
>
> > 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, and I can use SSH to sign in to the root account using
> > the default password.
> >
> > Any help would be appreciated; thanks,
> > -Stu
> > _
> > The information contained in this e-mail and any attachments from Group W
> > may contain confidential and/or proprietary information and is intended
> > only for the named recipient to whom it was originally addressed. If you
> > are n

Re: Instance with SSH Key pair

2023-02-03 Thread Stuart Whitman
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 a template from an instance. However, when I boot the new instance, 
the SSH key is not installed. When I use the password to sign in, the 
cloud-init logs say it could not find the data-server. If I reboot from the 
command line, my SSH key works, and the cloud-init logs indicate it found the 
data-server IP address. If I stop and start the instance from CloudStack, the 
SSH key still works, but the cloud-init logs again say it cannot find the 
data-server.

Any idea why cloud-init is able to find the IP for the data-server when the 
instance is rebooted but not when it is started from CloudStack?

-Stu


From: Wei ZHOU 
Sent: Thursday, February 2, 2023 3:34 AM
To: users@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
VirtualRouter)

Please refer to
https://usg02.safelinks.protection.office365.us/?url=http%3A%2F%2Fdocs.cloudstack.apache.org%2Fen%2Flatest%2Fadminguide%2Ftemplates%2F_cloud_init.html&data=05%7C01%7Cswhitman%40groupw.com%7Ced733c1d6c4d417d4d9b08db04f85259%7C5746ff41c91e439b81427cff90226280%7C0%7C0%7C638109238161140664%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=3b%2BfCQqeJHaRxOpikqVRk1ky8qBu%2FxessOmQByZ00cg%3D&reserved=0

-Wei



-Wei

On Wed, 1 Feb 2023 at 20:12, Stuart Whitman 
wrote:

> Hello Wei,
>
> Using your template, I can sign into an instance using ssh keys.
>
> As the instance boots, I notice error messages about failing to mount
> /mnt/configdrive. Sorry, but I cannot find those messages in the log file
> to copy into this email. Should I try to fix this error?
>
> I noticed that the image has custom scripts in /etc/init.d to request
> passwords and SSH keys. Another user, Vivek Kumar, provided links
> discussing a script called cloud-init. I tried to use a Rocky Linux 8 cloud
> image but failed to sign in using SSH keys. I believe I read that Rocky
> cloud images have cloud-init installed. Is cloud-init compatible with
> CloudStack's SSH key config, or are the scripts in your image 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: users@cloudstack.apache.org 
> 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_configdrive.py. You can register the template with url
>
> https://usg02.safelinks.protection.office365.us/?url=http%3A%2F%2Fpeople.apache.org%2F~weizhou%2Fcentos55-sshkey-configdrive.qcow2.bz2&data=05%7C01%7Cswhitman%40groupw.com%7Ced733c1d6c4d417d4d9b08db04f85259%7C5746ff41c91e439b81427cff90226280%7C0%7C0%7C638109238161140664%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=m%2BTynKmTdKE2tcpLJrQBHBeghnMzt5DQKzPoapMVYEI%3D&reserved=0
>
> -Wei
>
>
> On Tuesday, 31 January 2023, Stuart Whitman 
> wrote:
>
> > 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, and I can use SSH to sign in to the root account using
> > the default password.
> >
> > Any help would be appreciated; thanks,
> > -Stu
> > _
> > The information contained in this e-mail and any attachments from Group W
> > may contain confidential and/or proprietary information and is intended
> > only for the named recipient to whom it was originally addressed. If you
> > are not the intended recipient, be aware that any disclosure,
> distribution,
> > or copying of this e-mail or its attachments is strictly prohibited. If
> you
> > have received this e-mail in error, please notify the sender immediately
> of
> > that fact by return e-mail and permanently delete the e-mail and any
> > attachments to it.
> >
> _
> 

Re: Instance with SSH Key pair

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

Please refer to
http://docs.cloudstack.apache.org/en/latest/adminguide/templates/_cloud_init.html

-Wei



-Wei

On Wed, 1 Feb 2023 at 20:12, Stuart Whitman 
wrote:

> Hello Wei,
>
> Using your template, I can sign into an instance using ssh keys.
>
> As the instance boots, I notice error messages about failing to mount
> /mnt/configdrive. Sorry, but I cannot find those messages in the log file
> to copy into this email. Should I try to fix this error?
>
> I noticed that the image has custom scripts in /etc/init.d to request
> passwords and SSH keys. Another user, Vivek Kumar, provided links
> discussing a script called cloud-init. I tried to use a Rocky Linux 8 cloud
> image but failed to sign in using SSH keys. I believe I read that Rocky
> cloud images have cloud-init installed. Is cloud-init compatible with
> CloudStack's SSH key config, or are the scripts in your image 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: users@cloudstack.apache.org 
> 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_configdrive.py. You can register the template with url
>
> https://usg02.safelinks.protection.office365.us/?url=http%3A%2F%2Fpeople.apache.org%2F~weizhou%2Fcentos55-sshkey-configdrive.qcow2.bz2&data=05%7C01%7Cswhitman%40groupw.com%7Ce007bfaff47a451919a008db03d7177f%7C5746ff41c91e439b81427cff90226280%7C0%7C0%7C638108540418592203%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=4urmRF%2FlZSKoz2WrX%2BIwkeUfJUD%2BTx%2BQpzpIPiktO7E%3D&reserved=0
>
> -Wei
>
>
> On Tuesday, 31 January 2023, Stuart Whitman 
> wrote:
>
> > 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, and I can use SSH to sign in to the root account using
> > the default password.
> >
> > Any help would be appreciated; thanks,
> > -Stu
> > _
> > The information contained in this e-mail and any attachments from Group W
> > may contain confidential and/or proprietary information and is intended
> > only for the named recipient to whom it was originally addressed. If you
> > are not the intended recipient, be aware that any disclosure,
> distribution,
> > or copying of this e-mail or its attachments is strictly prohibited. If
> you
> > have received this e-mail in error, please notify the sender immediately
> of
> > that fact by return e-mail and permanently delete the e-mail and any
> > attachments to it.
> >
> _
> The information contained in this e-mail and any attachments from Group W
> may contain confidential and/or proprietary information and is intended
> only for the named recipient to whom it was originally addressed. If you
> are not the intended recipient, be aware that any disclosure, distribution,
> or copying of this e-mail or its attachments is strictly prohibited. If you
> have received this e-mail in error, please notify the sender immediately of
> that fact by return e-mail and permanently delete the e-mail and any
> attachments to it.
>


Re: Instance with SSH Key pair

2023-02-01 Thread Stuart Whitman
Hello Wei,

Using your template, I can sign into an instance using ssh keys.

As the instance boots, I notice error messages about failing to mount 
/mnt/configdrive. Sorry, but I cannot find those messages in the log file to 
copy into this email. Should I try to fix this error?

I noticed that the image has custom scripts in /etc/init.d to request passwords 
and SSH keys. Another user, Vivek Kumar, provided links discussing a script 
called cloud-init. I tried to use a Rocky Linux 8 cloud image but failed to 
sign in using SSH keys. I believe I read that Rocky cloud images have 
cloud-init installed. Is cloud-init compatible with CloudStack's SSH key 
config, or are the scripts in your image 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: users@cloudstack.apache.org 
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_configdrive.py. You can register the template with url
https://usg02.safelinks.protection.office365.us/?url=http%3A%2F%2Fpeople.apache.org%2F~weizhou%2Fcentos55-sshkey-configdrive.qcow2.bz2&data=05%7C01%7Cswhitman%40groupw.com%7Ce007bfaff47a451919a008db03d7177f%7C5746ff41c91e439b81427cff90226280%7C0%7C0%7C638108540418592203%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=4urmRF%2FlZSKoz2WrX%2BIwkeUfJUD%2BTx%2BQpzpIPiktO7E%3D&reserved=0

-Wei


On Tuesday, 31 January 2023, Stuart Whitman 
wrote:

> 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, and I can use SSH to sign in to the root account using
> the default password.
>
> Any help would be appreciated; thanks,
> -Stu
> _
> The information contained in this e-mail and any attachments from Group W
> may contain confidential and/or proprietary information and is intended
> only for the named recipient to whom it was originally addressed. If you
> are not the intended recipient, be aware that any disclosure, distribution,
> or copying of this e-mail or its attachments is strictly prohibited. If you
> have received this e-mail in error, please notify the sender immediately of
> that fact by return e-mail and permanently delete the e-mail and any
> attachments to it.
>
_
The information contained in this e-mail and any attachments from Group W may 
contain confidential and/or proprietary information and is intended only for 
the named recipient to whom it was originally addressed. If you are not the 
intended recipient, be aware that any disclosure, distribution, or copying of 
this e-mail or its attachments is strictly prohibited. If you have received 
this e-mail in error, please notify the sender immediately of that fact by 
return e-mail and permanently delete the e-mail and any attachments to it.


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.


There are also other templates there on that site, albeit a bit stale, 
but most are working.


On 2023-01-31 22:03, Wei ZHOU wrote:

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


On Tuesday, 31 January 2023, Stuart Whitman 


wrote:


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, and I can use SSH to sign in to the root account 
using

the default password.

Any help would be appreciated; thanks,
-Stu
_
The information contained in this e-mail and any attachments from 
Group W
may contain confidential and/or proprietary information and is 
intended
only for the named recipient to whom it was originally addressed. If 
you
are not the intended recipient, be aware that any disclosure, 
distribution,
or copying of this e-mail or its attachments is strictly prohibited. 
If you
have received this e-mail in error, please notify the sender 
immediately of

that fact by return e-mail and permanently delete the e-mail and any
attachments to it.



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


On Tuesday, 31 January 2023, Stuart Whitman 
wrote:

> 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, and I can use SSH to sign in to the root account using
> the default password.
>
> Any help would be appreciated; thanks,
> -Stu
> _
> The information contained in this e-mail and any attachments from Group W
> may contain confidential and/or proprietary information and is intended
> only for the named recipient to whom it was originally addressed. If you
> are not the intended recipient, be aware that any disclosure, distribution,
> or copying of this e-mail or its attachments is strictly prohibited. If you
> have received this e-mail in error, please notify the sender immediately of
> that fact by return e-mail and permanently delete the e-mail and any
> attachments to it.
>


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.html


Vivek Kumar
Sr. Manager - Cloud & DevOps
TechOps | Indiqus Technologies

vivek.ku...@indiqus.com 
www.indiqus.com 




> On 01-Feb-2023, at 12:21 AM, Stuart Whitman  
> wrote:
> 
> 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, and I can use SSH to sign in to the root account using the 
> default password.
> 
> Any help would be appreciated; thanks,
> -Stu
> _
> The information contained in this e-mail and any attachments from Group W may 
> contain confidential and/or proprietary information and is intended only for 
> the named recipient to whom it was originally addressed. If you are not the 
> intended recipient, be aware that any disclosure, distribution, or copying of 
> this e-mail or its attachments is strictly prohibited. If you have received 
> this e-mail in error, please notify the sender immediately of that fact by 
> return e-mail and permanently delete the e-mail and any attachments to it.


-- 
This message is intended only for the use of the individual or entity to 
which it is addressed and may contain confidential and/or privileged 
information. If you are not the intended recipient, please delete the 
original message and any copy of it from your computer system. You are 
hereby notified that any dissemination, distribution or copying of this 
communication is strictly prohibited unless proper authorization has been 
obtained for such action. If you have received this communication in error, 
please notify the sender immediately. Although IndiQus attempts to sweep 
e-mail and attachments for viruses, it does not guarantee that both are 
virus-free and accepts no liability for any damage sustained as a result of 
viruses.


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, and I can use SSH to sign in to the root account using the 
default password.

Any help would be appreciated; thanks,
-Stu
_
The information contained in this e-mail and any attachments from Group W may 
contain confidential and/or proprietary information and is intended only for 
the named recipient to whom it was originally addressed. If you are not the 
intended recipient, be aware that any disclosure, distribution, or copying of 
this e-mail or its attachments is strictly prohibited. If you have received 
this e-mail in error, please notify the sender immediately of that fact by 
return e-mail and permanently delete the e-mail and any attachments to it.