Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
neil committed Dec 4, 2023
1 parent 04c27bc commit b34158a
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 23 deletions.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ sleep 2
waitForText "$VM_LOGIN_TAG"
sleep 2

inputKeys "string root; enter"
inputKeys "string root; enter; enter"

sleep 2

Expand Down
7 changes: 4 additions & 3 deletions conf/omnios-r151048.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,17 @@ VM_OS_TYPE="omnios"
VM_SSH_PORT=2222
VM_RELEASE=r151048

VM_LOGIN_TAG="64 (freebsd) (tty"
VM_LOGIN_TAG="omnios console login"

VM_SHUTDOWN_CMD="/sbin/shutdown -p now"

VM_INSTALL_CMD="pkg install -y "
VM_INSTALL_CMD="pkg install "

VM_RSYNC_PKG="rsync"
VM_SSHFS_PKG="fusefs-sshfs && kldload fusefs"
VM_SSHFS_PKG=""

VM_PRE_INSTALL_PKGS="tree"
VM_OCR=py


VM_OPTS="conf/omnios-r151048.opts.txt"
Expand Down
42 changes: 42 additions & 0 deletions conf/omnios-r151048.opts.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@


US-English | enter

#Welcome to the OmniOS installer
Welcome to | enter


Select disks for installation | space; sleep 1; enter



Continue | enter; sleep 3; enter



#Please identify a location so that time zone rules can be set correctly

location | enter


#Is the above information OK
information | enter


Installation Complete | enter


Welcome to | enter




OmniOS configuration menu | string c; enter;string c; enter; enter


OmniOS configuration menu | string s; string s; enter; enter; string h; enter





20 changes: 1 addition & 19 deletions enablessh.txt
Original file line number Diff line number Diff line change
@@ -1,24 +1,6 @@







echo 'sshd_enable="YES"' >>/etc/rc.conf

service sshd start


service sendmail stop
echo 'sendmail_enable="NONE"' >>/etc/rc.conf
echo 'sendmail_submit_enable="NO"' >>/etc/rc.conf
echo 'sendmail_outbound_enable="NO"' >>/etc/rc.conf
echo 'sendmail_msp_queue_enable="NO"' >>/etc/rc.conf




echo '' >> /etc/ssh/sshd_config

echo 'PermitRootLogin yes' >> /etc/ssh/sshd_config
Expand All @@ -32,7 +14,7 @@ echo 'AcceptEnv *' >> /etc/ssh/sshd_config
ssh-keygen -t rsa -f ~/.ssh/id_rsa -q -N ''


service sshd restart
sudo svcadm restart ssh



Expand Down

0 comments on commit b34158a

Please sign in to comment.