-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
minor comments and network bridge config
- Loading branch information
Showing
1 changed file
with
31 additions
and
0 deletions.
There are no files selected for viewing
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,31 @@ | ||
# Debian Jessie unattended install using Preseed | ||
|
||
Script installs libvirt/KVM/qemu-based Debian Jessie virtual machine and does some custom post-install configuration. | ||
It uses `virt-install`. | ||
It can be used as an example or as a base for your own script. | ||
|
||
For best results before first use at least: | ||
* Update domain name in `install.sh` and scattered in `late.sh`. | ||
* Update user / login name in `preseed.cfg`, update login name in `late.sh` | ||
* Update SSH public key in postinst or enable password setup in `preseed.cfg` | ||
|
||
It is works best in setup with bridged network interface on KVM-based linux host. Bridge setup example: | ||
``` | ||
$ cat /etc/network/interfaces | ||
auto lo | ||
iface lo inet loopback | ||
auto eth0 | ||
iface eth0 inet manual | ||
auto br0 | ||
iface br0 inet dhcp | ||
bridge_ports eth0 | ||
bridge_stp off | ||
bridge_fd 0 | ||
bridge_maxwait 0 | ||
``` | ||
|
||
More Info | ||
--------- | ||
* https://www.debian.org/releases/stable/example-preseed.txt |