git.ipr: New main domain
This commit is contained in:
parent
c4bb17db4f
commit
443311b63a
|
@ -323,7 +323,7 @@ fi
|
|||
# }}}
|
||||
# Finish {{{
|
||||
## Call a latecommand script {{{
|
||||
wget -O /tmp/latecommand.tar.gz "https://git.ipr.univ-rennes1.fr/cellinfo/tftpboot/raw/master/scripts/latecommand.tar.gz" --no-check-certificate
|
||||
wget -O /tmp/latecommand.tar.gz "https://git.ipr.univ-rennes.fr/cellinfo/tftpboot/raw/master/scripts/latecommand.tar.gz" --no-check-certificate
|
||||
tar xzf /tmp/latecommand.tar.gz -C /target/tmp/
|
||||
chroot /target /usr/bin/env debian_version="${debian_version}" /bin/sh /tmp/latecommand/post."${debian_version}".sh
|
||||
|
||||
|
|
|
@ -321,7 +321,7 @@ wget -O /tmp/part.btrfs.sh "https://git.101010.fr/gardouille-dotfiles/scripts/ra
|
|||
chmod +x /tmp/part.btrfs.sh && /tmp/part.btrfs.sh ; \
|
||||
in-target /bin/rmdir /mnt/free ; in-target /bin/sed -i '/lv_free/d' /etc/fstab ; \
|
||||
in-target /bin/sed -i 's/\(^\|^\#\)\(PermitRootLogin\).*/\2 yes/g' /etc/ssh/sshd_config ; \
|
||||
in-target wget -O /tmp/latecommand.tar.gz "https://git.ipr.univ-rennes1.fr/cellinfo/tftpboot/raw/master/scripts/latecommand.tar.gz" --no-check-certificate ; \
|
||||
in-target wget -O /tmp/latecommand.tar.gz "https://git.ipr.univ-rennes.fr/cellinfo/tftpboot/raw/master/scripts/latecommand.tar.gz" --no-check-certificate ; \
|
||||
in-target tar xzf /tmp/latecommand.tar.gz -C /tmp/ ; \
|
||||
in-target /bin/sh /tmp/latecommand/post.stretch.sh
|
||||
################################################################## ]]]
|
||||
|
|
|
@ -328,7 +328,7 @@ wget -O /tmp/part.btrfs.sh "https://git.101010.fr/gardouille-dotfiles/scripts/ra
|
|||
chmod +x /tmp/part.btrfs.sh && /tmp/part.btrfs.sh ; \
|
||||
in-target /bin/rmdir /mnt/free ; in-target /bin/sed -i '/lv_free/d' /etc/fstab ; \
|
||||
in-target /bin/sed -i 's/\(^\|^\#\)\(PermitRootLogin\).*/\2 yes/g' /etc/ssh/sshd_config ; \
|
||||
in-target wget -O /tmp/latecommand.tar.gz "https://git.ipr.univ-rennes1.fr/cellinfo/tftpboot/raw/master/scripts/latecommand.tar.gz" --no-check-certificate ; \
|
||||
in-target wget -O /tmp/latecommand.tar.gz "https://git.ipr.univ-rennes.fr/cellinfo/tftpboot/raw/master/scripts/latecommand.tar.gz" --no-check-certificate ; \
|
||||
in-target tar xzf /tmp/latecommand.tar.gz -C /tmp/ ; \
|
||||
in-target /bin/sh /tmp/latecommand/post.buster.sh
|
||||
################################################################## ]]]
|
||||
|
|
|
@ -46,7 +46,7 @@ fi
|
|||
/bin/sed --in-place -- 's/\(^\|^\#\)\(PermitRootLogin\).*/\2 yes/g' /etc/ssh/sshd_config
|
||||
|
||||
# Download and uncompress latecommand archive
|
||||
wget --quiet --output-document=/tmp/latecommand.tar.gz -- "https://git.ipr.univ-rennes1.fr/cellinfo/tftpboot/raw/branch/master/scripts/latecommand.tar.gz"
|
||||
wget --quiet --output-document=/tmp/latecommand.tar.gz -- "https://git.ipr.univ-rennes.fr/cellinfo/tftpboot/raw/branch/master/scripts/latecommand.tar.gz"
|
||||
tar xzf /tmp/latecommand.tar.gz -C /tmp/
|
||||
# Run dedicated script
|
||||
## Source /etc/os-release to get Debian codename
|
||||
|
|
|
@ -353,7 +353,7 @@ wget -O /tmp/part.btrfs.sh "https://git.101010.fr/gardouille-dotfiles/scripts/ra
|
|||
chmod +x /tmp/part.btrfs.sh && /tmp/part.btrfs.sh ; \
|
||||
in-target /bin/rmdir /mnt/free ; in-target /bin/sed -i '/lv_free/d' /etc/fstab ; \
|
||||
in-target /bin/sed -i 's/\(^\|^\#\)\(PermitRootLogin\).*/\2 yes/g' /etc/ssh/sshd_config ; \
|
||||
in-target wget -O /tmp/latecommand.tar.gz "https://git.ipr.univ-rennes1.fr/cellinfo/tftpboot/raw/master/scripts/latecommand.tar.gz" --no-check-certificate ; \
|
||||
in-target wget -O /tmp/latecommand.tar.gz "https://git.ipr.univ-rennes.fr/cellinfo/tftpboot/raw/master/scripts/latecommand.tar.gz" --no-check-certificate ; \
|
||||
in-target tar xzf /tmp/latecommand.tar.gz -C /tmp/ ; \
|
||||
in-target /bin/sh /tmp/latecommand/post.sid.sh
|
||||
################################################################## ]]]
|
||||
|
|
Loading…
Reference in New Issue