git.ipr: New main domain
This commit is contained in:
parent
c4bb17db4f
commit
443311b63a
2
debian/chroot.install
vendored
2
debian/chroot.install
vendored
@ -323,7 +323,7 @@ fi
|
|||||||
# }}}
|
# }}}
|
||||||
# Finish {{{
|
# Finish {{{
|
||||||
## Call a latecommand script {{{
|
## 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/
|
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
|
chroot /target /usr/bin/env debian_version="${debian_version}" /bin/sh /tmp/latecommand/post."${debian_version}".sh
|
||||||
|
|
||||||
|
2
debian/emy.laptop.preseed
vendored
2
debian/emy.laptop.preseed
vendored
@ -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 ; \
|
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/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 /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 tar xzf /tmp/latecommand.tar.gz -C /tmp/ ; \
|
||||||
in-target /bin/sh /tmp/latecommand/post.stretch.sh
|
in-target /bin/sh /tmp/latecommand/post.stretch.sh
|
||||||
################################################################## ]]]
|
################################################################## ]]]
|
||||||
|
2
debian/gaming.station.preseed
vendored
2
debian/gaming.station.preseed
vendored
@ -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 ; \
|
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/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 /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 tar xzf /tmp/latecommand.tar.gz -C /tmp/ ; \
|
||||||
in-target /bin/sh /tmp/latecommand/post.buster.sh
|
in-target /bin/sh /tmp/latecommand/post.buster.sh
|
||||||
################################################################## ]]]
|
################################################################## ]]]
|
||||||
|
2
debian/post.install.ovh.sh
vendored
2
debian/post.install.ovh.sh
vendored
@ -46,7 +46,7 @@ fi
|
|||||||
/bin/sed --in-place -- 's/\(^\|^\#\)\(PermitRootLogin\).*/\2 yes/g' /etc/ssh/sshd_config
|
/bin/sed --in-place -- 's/\(^\|^\#\)\(PermitRootLogin\).*/\2 yes/g' /etc/ssh/sshd_config
|
||||||
|
|
||||||
# Download and uncompress latecommand archive
|
# 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/
|
tar xzf /tmp/latecommand.tar.gz -C /tmp/
|
||||||
# Run dedicated script
|
# Run dedicated script
|
||||||
## Source /etc/os-release to get Debian codename
|
## Source /etc/os-release to get Debian codename
|
||||||
|
2
debian/working.station.preseed
vendored
2
debian/working.station.preseed
vendored
@ -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 ; \
|
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/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 /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 tar xzf /tmp/latecommand.tar.gz -C /tmp/ ; \
|
||||||
in-target /bin/sh /tmp/latecommand/post.sid.sh
|
in-target /bin/sh /tmp/latecommand/post.sid.sh
|
||||||
################################################################## ]]]
|
################################################################## ]]]
|
||||||
|
Loading…
Reference in New Issue
Block a user