소스 검색

provision.pl - now provision.pl adds admin user to user_list.txt so they are on the default user list

tags/release-00
gashapwn 3 년 전
부모
커밋
268913aba8
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. +3
    -0
      perl-script/provision.pl

+ 3
- 0
perl-script/provision.pl 파일 보기

@@ -54,6 +54,7 @@ system("cp -r ./skel/* /etc/skel/");
# setup admin user
system("cp -r ./skel/* /home/$admin_un/");
system("chown -R $admin_un:$admin_un /home/$admin_un");
system("echo $admin_un >> ./user_list.txt");

# Setup the virtual environment
system("pkg_add python3");
@@ -94,3 +95,5 @@ system("pkg_add haproxy");
printf("configuring haproxy\n");
system("cp ./perl-script/conf/haproxy.cfg /etc/haproxy/haproxy.cfg");
system("rcctl start haproxy");

printf("dont forget to setup your ssh pub key at /home/$admin_un/.ssh/authorized_keys\n");

불러오는 중...
취소
저장