Changeset 5852 in /cluster/svnroot


Ignore:
Timestamp:
Dec 14, 2016 10:45:30 PM (4 years ago)
Author:
skylar
Message:

add bccd user and set bccd-stage for passwd generation re #988

File:
1 edited

Legend:

Unmodified
Added
Removed
  • bccd-ng/branches/skylar/bccd-3.4.0-build_ng/bin/deb/bccd_deb_after_install

    r5829 r5852  
    55set -eo pipefail
    66
     7PATH=/bin:/usr/bin:/sbin:/usr/sbin
     8
    79# Install BCCD apt keys (#979)
    810for k in /etc/bccd/keys/*; do
    9     /usr/bin/apt-key add "${k}"
     11    apt-key add "${k}"
    1012done
    1113
    1214# Set root password to "letmein" (#966)
    1315echo 'root:letmein'|chpasswd
     16
     17# Add bccd user (#988)
     18useradd bccd
     19# Set bccd-stage to LIVE if we are running in Jenkins or a live boot (aufs mount detected)
     20if [[ "x${WORKSPACE}" != "x" ]] || mount|grep -q aufs > /dev/null 2>&1 ; then
     21    echo LIVE > /etc/bccd-stage
     22else
     23    echo LIBERATED > /etc/bccd-stage
     24fi
Note: See TracChangeset for help on using the changeset viewer.