Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
computer:build_debian_jessie_amd64_lxc_pve_template [2017/02/18 10:30]
tdobes
computer:build_debian_jessie_amd64_lxc_pve_template [2017/05/02 16:16] (current)
tdobes
Line 12: Line 12:
 Architecture:​ amd64 Architecture:​ amd64
 Name: debian-8.0-tom Name: debian-8.0-tom
-Version: 8.7-tom2+Version: 8.7-tom3
 Section: system Section: system
 Maintainer: Tom Dobes <​tomdobes@purdue.edu>​ Maintainer: Tom Dobes <​tomdobes@purdue.edu>​
Line 67: Line 67:
  echo '​[Service]'​ > ${BASEDIR}/​etc/​systemd/​system/​getty\@tty1.service.d/​noclear.conf  echo '​[Service]'​ > ${BASEDIR}/​etc/​systemd/​system/​getty\@tty1.service.d/​noclear.conf
  echo '​TTYVTDisallocate=no'​ >> ${BASEDIR}/​etc/​systemd/​system/​getty\@tty1.service.d/​noclear.conf  echo '​TTYVTDisallocate=no'​ >> ${BASEDIR}/​etc/​systemd/​system/​getty\@tty1.service.d/​noclear.conf
- echo '​[Unit]'​ > ${BASEDIR}/​etc/​systemd/​system/​getty\@tty1.service.d/​run_in_container.conf 
- echo '​ConditionPathExists='​ >> ${BASEDIR}/​etc/​systemd/​system/​getty\@tty1.service.d/​run_in_container.conf 
- echo '​ConditionPathExists=/​dev/​tty1'​ >> ${BASEDIR}/​etc/​systemd/​system/​getty\@tty1.service.d/​run_in_container.conf 
- mkdir -p ${BASEDIR}/​etc/​systemd/​system/​getty\@tty2.service.d 
- echo '​[Unit]'​ > ${BASEDIR}/​etc/​systemd/​system/​getty\@tty2.service.d/​run_in_container.conf 
- echo '​ConditionPathExists='​ >> ${BASEDIR}/​etc/​systemd/​system/​getty\@tty2.service.d/​run_in_container.conf 
- echo '​ConditionPathExists=/​dev/​tty2'​ >> ${BASEDIR}/​etc/​systemd/​system/​getty\@tty2.service.d/​run_in_container.conf 
  
  echo "​America/​Chicago"​ > ${BASEDIR}/​etc/​timezone  echo "​America/​Chicago"​ > ${BASEDIR}/​etc/​timezone
Line 137: Line 130:
 echo '​ConditionPathExists='​ >> /​etc/​systemd/​system/​getty\@tty2.service.d/​run_in_container.conf echo '​ConditionPathExists='​ >> /​etc/​systemd/​system/​getty\@tty2.service.d/​run_in_container.conf
 echo '​ConditionPathExists=/​dev/​tty2'​ >> /​etc/​systemd/​system/​getty\@tty2.service.d/​run_in_container.conf echo '​ConditionPathExists=/​dev/​tty2'​ >> /​etc/​systemd/​system/​getty\@tty2.service.d/​run_in_container.conf
 +</​code>​
 +
 +**How to update tom2 CT to tom3 (rollback some no-longer-needed getty stuff)**
 +<​code>​
 +rm /​etc/​systemd/​system/​getty\@tty1.service.d/​run_in_container.conf
 +rm /​etc/​systemd/​system/​getty\@tty2.service.d/​run_in_container.conf
 +rmdir /​etc/​systemd/​system/​getty\@tty2.service.d
 </​code>​ </​code>​
computer/build_debian_jessie_amd64_lxc_pve_template.txt · Last modified: 2017/05/02 16:16 by tdobes
Recent changes RSS feed Driven by DokuWiki Valid XHTML 1.0 Valid CSS