Skip to content

Commit

Permalink
Thu Mar 30 15:39:54 ICT 2017
Browse files Browse the repository at this point in the history
  • Loading branch information
hyphop committed Mar 30, 2017
1 parent 372121c commit cc9fa48
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions miZy_builder_vm_generate
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,9 @@ for v in `cat /proc/cmdline`; do
password=*)
echo "PASSWORD: root:${v#password=}"
echo root:${v#password=} | chpasswd
echo "Match User root" >> /etc/ssh/sshd_config
echo "PasswordAuthentication yes" >> /etc/ssh/sshd_config
echo "PermitRootLogin yes" >> /etc/ssh/sshd_config
;;
ip0=*)
ifconfig eth0 ${v#ip0=} netmask 255.255.255.0
Expand Down

0 comments on commit cc9fa48

Please sign in to comment.