Changeset - 934e1c727136
[Not reviewed]
0 1 0
Lance Edgar (lance) - 7 years ago 2018-01-06 19:13:11
lance@edbob.org
Make `~/.ssh` by default, when bootstrapping rattail
1 file changed with 5 insertions and 3 deletions:
0 comments (0 inline, 0 general)
rattail/fablib/rattail.py
Show inline comments
 
# -*- coding: utf-8 -*-
 
# -*- coding: utf-8; -*-
 
################################################################################
 
#
 
#  Rattail -- Retail Software Framework
 
#  Copyright © 2010-2017 Lance Edgar
 
#  Copyright © 2010-2018 Lance Edgar
 
#
 
#  This file is part of Rattail.
 
#
 
@@ -40,7 +40,9 @@ def bootstrap_rattail(home='/var/lib/rattail', uid=None, shell='/bin/bash'):
 
    Bootstrap a basic Rattail software environment.
 
    """
 
    make_system_user('rattail', home=home, uid=uid, shell=shell)
 
    sudo('adduser {0} rattail'.format(env.user))
 
    sudo('adduser {} rattail'.format(env.user))
 
    with cd(home):
 
        mkdir('.ssh', owner='rattail:', mode='0700')
 

	
 
    mkdir('/etc/rattail')
 
    mkdir('/srv/rattail')
0 comments (0 inline, 0 general)