Skip to content

Commit

Permalink
add
Browse files Browse the repository at this point in the history
  • Loading branch information
neil committed Nov 9, 2024
1 parent 27d6ffb commit d93cd39
Show file tree
Hide file tree
Showing 3 changed files with 85 additions and 1 deletion.
2 changes: 1 addition & 1 deletion conf/openindiana-202404.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ VM_OS_TYPE="openindiana"
VM_SSH_PORT=2222
VM_RELEASE=202404

VM_LOGIN_TAG="omnios console login"
VM_LOGIN_TAG="openindiana console login"

VM_SHUTDOWN_CMD="shutdown -y -i5 -g0"

Expand Down
64 changes: 64 additions & 0 deletions conf/openindiana-202404.opts.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@



Welcome | enter


#To select the keyboard layout, enter a number

keyboard | enter


#select the language you wish to use, enter a number

language | enter


#Welcome to the OpenIndiana illumos-1edba515a3 installation menu

Install OpenIndiana | enter


#Thanks for choosing to install OpenIndiana!

choosing | f2


#Where should OpenIndiana be installed?

Where | f2; sleep1; tab; sleep 1; enter



#OpenIndiana can be installed on the whole disk or a partition on the disk

partition | f2


#Enter a name for this computer that identifies

name | tab; f2

#Select the region that contains your time zone

region | f2

#Edit the date and time as necessary

time | f2

#System Root Password

password | f2; tab; enter

#Review the settings below before installing. Go back (F3) to make changes

Review | f2

#
Installation Complete | f8





20 changes: 20 additions & 0 deletions enablessh.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@


sed -i "s/PermitRootLogin no/PermitRootLogin yes/" /etc/ssh/sshd_config

sed -i "s/#PermitEmptyPasswords no/PermitEmptyPasswords yes/" /etc/ssh/sshd_config

sed -i "s/#PubkeyAuthentication no/PubkeyAuthentication yes/" /etc/ssh/sshd_config


echo "AcceptEnv *" >> /etc/ssh/sshd_config

mkdir -p ~/.ssh

chmod -R 600 ~/.ssh

ssh-keygen -t rsa -f ~/.ssh/id_rsa -q -N ""

echo "StrictHostKeyChecking=accept-new" >>~/.ssh/config


0 comments on commit d93cd39

Please sign in to comment.