b99600a876
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9844 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
15 lines
453 B
Bash
Executable File
15 lines
453 B
Bash
Executable File
root=1
|
|
rootok=1
|
|
netroot=xcat
|
|
clear
|
|
echo "Wating for network to become available..."
|
|
echo '[ -e $NEWROOT/proc ]' > /initqueue-finished/xcatroot.sh
|
|
#/bin/dash
|
|
mkdir -p /etc/ssh
|
|
mkdir -p /var/empty/sshd
|
|
echo sshd:x:30:30:SSH User:/var/empty/sshd:/sbin/nologin >> /etc/passwd
|
|
ssh-keygen -q -t rsa -f /etc/ssh/ssh_host_rsa_key -C '' -N ''
|
|
ssh-keygen -q -t dsa -f /etc/ssh/ssh_host_dsa_key -C '' -N ''
|
|
echo 'Protocol 2' >> /etc/ssh/sshd_config
|
|
/usr/sbin/sshd
|