Browse Source

added logic to copy home skeleton

tags/release-00
gashapwn 3 years ago
parent
commit
067441e753
2 changed files with 4 additions and 3 deletions
  1. +1
    -3
      .gitignore
  2. +3
    -0
      perl-script/provision.pl

+ 1
- 3
.gitignore View File

@@ -2,8 +2,6 @@ venv/*
test/*
*~
test_*.txt
*/p0.pl
*/p1.pl
*/p2.pl
*/p[0-9].pl
notes.txt
user_list.txt

+ 3
- 0
perl-script/provision.pl View File

@@ -47,6 +47,9 @@ chdir $admin_home_dir;
system("su $admin_un -c 'git clone $GIT_REPO'");
chdir $REPO_DIR;

# Copy the skel directory
system("cp -r ./skel/* /etc/skel/");

# Setup the virtual environment
system("pkg_add python3");
printf("generating virutal enviornment...\n");


Loading…
Cancel
Save