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

2010-10-26 Thread Aaron Peeler

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: jod...@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_pee...@ncsu.edu
919-513-4571



persistent 'authorized_keys' on a VMware ESXi 4.1 system

2010-10-25 Thread James O'Dell
-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: jod...@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-