You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@vcl.apache.org by James O'Dell <jo...@fullerton.edu> on 2010/10/26 01:24:54 UTC

persistent 'authorized_keys' on a VMware ESXi 4.1 system

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Everyone,

I'm using VMware ESXi 4.1 to host my vcl systems. There is
a known issue, if the ESXi host reboots, it clears
the '.ssh/authorized_keys' file. Which means you have to
copy the authorized_keys from the management node
again to make the vmware host accessible.

Here's how to make it persistent.

Step 1) tar -C / -czf "/bootbank/vcl.tgz" ".ssh"
Step 2) vi /bootbank/boot.cfg
          append ' --- vcl.tgz' to 'modules' line

i.e.
> kernel=b.z
> kernelopt=
> modules=k.z --- s.z --- c.z --- oem.tgz --- license.tgz --- m.z --- state.tgz --- vcl.tgz
> build=4.1.0-260247
> updated=2
> bootstate=0


If you want to see what's in the file
'tar tvzf /bootbank/vcl.tgz'

Hope this helps,

__Jim O'Dell

- -- 
Jim O'Dell
Network Analyst
California State University Fullerton
Email: jodell@fullerton.edu
Phone: (657) 278-2256
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkzGEcYACgkQREVHAOnXPYTPQQCfaJzfAKj395QhxX2uHBMVn7WA
0WUAnAoxxtTiL7fMRpvaMIEHEMwdzo9M
=MlPp
-----END PGP SIGNATURE-----

Re: persistent 'authorized_keys' on a VMware ESXi 4.1 system

Posted by Aaron Peeler <aa...@ncsu.edu>.
Great tip. Thanks Jim.
Aaron

On 10/25/10 7:24 PM, James O'Dell wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi Everyone,
>
> I'm using VMware ESXi 4.1 to host my vcl systems. There is
> a known issue, if the ESXi host reboots, it clears
> the '.ssh/authorized_keys' file. Which means you have to
> copy the authorized_keys from the management node
> again to make the vmware host accessible.
>
> Here's how to make it persistent.
>
> Step 1) tar -C / -czf "/bootbank/vcl.tgz" ".ssh"
> Step 2) vi /bootbank/boot.cfg
>            append ' --- vcl.tgz' to 'modules' line
>
> i.e.
>> kernel=b.z
>> kernelopt=
>> modules=k.z --- s.z --- c.z --- oem.tgz --- license.tgz --- m.z --- state.tgz --- vcl.tgz
>> build=4.1.0-260247
>> updated=2
>> bootstate=0
>
> If you want to see what's in the file
> 'tar tvzf /bootbank/vcl.tgz'
>
> Hope this helps,
>
> __Jim O'Dell
>
> - -- 
> Jim O'Dell
> Network Analyst
> California State University Fullerton
> Email: jodell@fullerton.edu
> Phone: (657) 278-2256
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAkzGEcYACgkQREVHAOnXPYTPQQCfaJzfAKj395QhxX2uHBMVn7WA
> 0WUAnAoxxtTiL7fMRpvaMIEHEMwdzo9M
> =MlPp
> -----END PGP SIGNATURE-----


-- 

Aaron Peeler
Program Manager
Virtual Computing Lab
NC State University
aaron_peeler@ncsu.edu
919-513-4571