Commit 6decd1be authored by Guido Gunther's avatar Guido Gunther

Change user password to PIN

This allows us to use pam for PIN handling in phosh
parent 3a67cd9b
......@@ -114,7 +114,7 @@ sudo pureos_board="${pureos_board}" \
--configure-apt \
--distribution "$distro" \
--serial-console-command "/sbin/getty -L ttymxc0 115200 vt100" \
--root-password='root' --hostname='pureos' --user=purism/purism --sudo \
--root-password='root' --hostname='pureos' --user=purism/123456 --sudo \
--customize "${cwd}/root.sh" \
--owner "$(whoami)" \
"${vmdebootstrap_opts[@]}" \
......
......@@ -2,7 +2,7 @@ require 'serverspec'
require 'net/ssh'
set :backend, :ssh
set :sudo_password, 'purism'
set :sudo_password, '123456'
host = ENV['TARGET_HOST']
port = ENV['TARGET_PORT'] || 22
......@@ -10,7 +10,7 @@ port = ENV['TARGET_PORT'] || 22
options = Net::SSH::Config.for(host)
options[:user] ||= 'purism'
options[:password] ||= 'purism'
options[:password] ||= '123456'
options[:port] ||= port
# All new test images have a new host key
# and the account details are well known
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment