Sha256: 409c6dc35e60898f2d919c7c56d6a81fe38daa957023bfcd5beba9bfb9cb0321

Contents?: true

Size: 531 Bytes

Versions: 62

Compression:

Stored size: 531 Bytes

Contents

# # Autologin
- set_autologin:
  - exec_in: |
     # check SysV init
     if [ -f '/etc/inittab' ]
     then
         perl -pi -e 's;/sbin/getty.*tty1;/bin/login -f $$user_name tty1 </dev/tty1 >/dev/tty1 2>&1;' /etc/inittab
     else
     # use systemd
         mkdir -p /etc/systemd/system/getty@tty1.service.d
         cat > /etc/systemd/system/getty@tty1.service.d/autologin.conf <<< '
         [Service]
         ExecStart=
         ExecStart=-/usr/bin/agetty --autologin <username> --noclear %I 38400 linux
         '
     fi

Version data entries

62 entries across 53 versions & 1 rubygems

Version Path
kameleon-builder-2.10.11 contrib/steps/setup/autologin.yaml
kameleon-builder-2.10.10 contrib/steps/setup/autologin.yaml
kameleon-builder-2.10.9 contrib/steps/setup/autologin.yaml
kameleon-builder-2.10.8 contrib/steps/setup/autologin.yaml
kameleon-builder-2.10.7 contrib/steps/setup/autologin.yaml
kameleon-builder-2.10.6 contrib/steps/setup/autologin.yaml
kameleon-builder-2.10.5 contrib/steps/setup/autologin.yaml
kameleon-builder-2.10.4 contrib/steps/setup/autologin.yaml
kameleon-builder-2.10.3 contrib/steps/setup/autologin.yaml
kameleon-builder-2.10.2 contrib/steps/setup/autologin.yaml
kameleon-builder-2.10.1 contrib/steps/setup/autologin.yaml
kameleon-builder-2.9.4 contrib/steps/setup/autologin.yaml
kameleon-builder-2.9.2 contrib/steps/setup/autologin.yaml
kameleon-builder-2.9.1 contrib/steps/setup/autologin.yaml
kameleon-builder-2.9.0 contrib/steps/setup/autologin.yaml
kameleon-builder-2.8.3 contrib/steps/setup/autologin.yaml
kameleon-builder-2.8.2 contrib/steps/setup/autologin.yaml
kameleon-builder-2.8.1 contrib/steps/setup/autologin.yaml
kameleon-builder-2.7.8 contrib/steps/setup/autologin.yaml
kameleon-builder-2.7.7 contrib/steps/setup/autologin.yaml