Signed-off-by: Sage Weil <sage@redhat.com>
' '.join([
'adduser',
'--system',
- '--home', '/nonexistent',
+ '--home', '/home/autobuild-ceph',
'--comment', '"Ceph autobuild"',
'--user-group',
#'--disabled-password',
'autobuild-ceph',
]),
)
+ with cd('/home/autobuild-ceph'):
+ sudo('lsb_release -d -s | grep CentOS | grep -q release\ 7 && echo "%dist .el7" > .rpmmacros')
sudo('install -d -m0755 --owner=root --group=root /srv/autobuild-ceph')
local('git bundle create bundle refs/heads/{branch_to_bundle}'.format(branch_to_bundle=branch_to_bundle))