Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
46 additions
and
0 deletions.
There are no files selected for viewing
28 changes: 28 additions & 0 deletions
28
etc/grml/fai/config/files/etc/cloud/cloud.cfg.d/42_grml.cfg/GRMLBASE
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# cloud-init configuration for Grml live system. | ||
# | ||
# This file was deployed via grml-live's | ||
# ${GRML_FAI_CONFIG}/config/scripts/GRMLBASE/51-cloud-init script, using | ||
# ${GRML_FAI_CONFIG}/config/files/etc/cloud/cloud.cfg.d/42_grml.cfg/GRMLBASE | ||
|
||
system_info: | ||
# This will affect which distro class gets used | ||
distro: debian | ||
# Default user name + that default users groups (if added/used) | ||
default_user: | ||
name: grml | ||
lock_passwd: True | ||
gecos: Grml | ||
groups: [adm, audio, cdrom, dialout, dip, floppy, netdev, plugdev, sudo, video] | ||
sudo: ["ALL=(ALL) NOPASSWD:ALL"] | ||
shell: /bin/zsh | ||
# Other config here will be given to the distro class and/or path classes | ||
paths: | ||
cloud_dir: /var/lib/cloud/ | ||
templates_dir: /etc/cloud/templates/ | ||
upstart_dir: /etc/init/ | ||
package_mirrors: | ||
- arches: [default] | ||
failsafe: | ||
primary: http://deb.debian.org/debian | ||
security: http://security.debian.org/ | ||
ssh_svcname: ssh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#!/bin/bash | ||
# Filename: ${GRML_FAI_CONFIG}/config/scripts/GRMLBASE/51-cloud-init | ||
# Purpose: configure cloud-init package | ||
# Authors: grml-team (grml.org), (c) Michael Prokop <mika@grml.org> | ||
# Bug-Reports: see http://grml.org/bugs/ | ||
# License: This file is licensed under the GPL v2 or any later version. | ||
################################################################################ | ||
|
||
set -u | ||
set -e | ||
|
||
# NOTE: this file is relevant only with cloud-init package installed, | ||
# though we install it unconditionally via GRMLBASE class to have it | ||
# available and configured as shipped by Grml ISOs | ||
fcopy -v /etc/cloud/cloud.cfg.d/42_grml.cfg | ||
|
||
## END OF FILE ################################################################# | ||
# vim:ft=sh expandtab ai tw=80 tabstop=4 shiftwidth=2 |