mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-31 11:22:27 +00:00 
			
		
		
		
	Fix location of ssh key to install in genesis environment mknb
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10513 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -95,7 +95,7 @@ sub process_request { | ||||
|    } | ||||
|    mkpath($tempdir."$sshdir"); | ||||
|    chmod(0700,$tempdir."$sshdir"); | ||||
|    copy("$sshdir/id_rsa.pub","$tempdir$sshdir/authorized_keys"); | ||||
|    copy("/root/.ssh/id_rsa.pub","$tempdir$sshdir/authorized_keys"); | ||||
|    chmod(0600,"$tempdir$sshdir/authorized_keys"); | ||||
|    if (not $invisibletouch and -r "/etc/xcat/hostkeys/ssh_host_key") { | ||||
|     copy("/etc/xcat/hostkeys/ssh_host_key","$tempdir/etc/ssh_host_key"); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user