Pārlūkot izejas kodu

provision.pl - hardcoding URLs to a testing branch like an idiot

master
gashapwn pirms 3 gadiem
vecāks
revīzija
4f4217d4f8
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      perl-script/provision.pl

+ 1
- 1
perl-script/provision.pl Parādīt failu

@@ -32,7 +32,7 @@ if($pwuid ne "root"){

unless( ($admin_un) = `tail /etc/passwd | grep -v "nobody:"` =~ /([^:\n]+):[^:]+:[0-9]{4,}/){
system("pkg_add p5-JSON");
`wget --quiet https://git.lain.church/gashapwn/lyadmin/raw/branch/master/perl-script/create_user.pl -O create_admin.pl`;
`wget --quiet https://git.lain.church/gashapwn/lyadmin/raw/branch/gasha-branch/perl-script/create_user.pl -O create_admin.pl`;
printf("run create_admin.pl to create an admin user\n");
die "or add with useradd and add an ssh key to ~/.ssh/authorizedkeys\n";


Notiek ielāde…
Atcelt
Saglabāt