source: make-mini-image/config/15-rootpass @ 2905

Last change on this file since 2905 was 1827, checked in by mabarracus, 4 years ago

Final config & renamed scripts

  • Property svn:executable set to *
File size: 266 bytes
Line 
1#!/bin/bash
2set -e
3
4source CONFIG
5source functions
6
7ensure BASE ARCH NAME ROOTPASSWD
8
9echo "Setting root password ..."
10ltsp-chroot --arch ${ARCH} --base ${BASE} -pcma ${NAME} bash -c "echo root:${ROOTPASSWD}|chpasswd"
11
12if [ "$?" != "0" ]; then
13    exit 1
14fi
15
16exit 0
Note: See TracBrowser for help on using the repository browser.