Skip to content

fcying/debian-di

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 

Repository files navigation

debian-autoinstall

auto install debian for kvm vps with netboot.

Sample

# use default options: debian10 amd64 user:root password:HelloDebian ssh_port:22
wget -Odi.sh https://github.com/fcying/debian-di/raw/master/di.sh && bash di.sh

Dependence

apt-get update
apt-get install -y wget gawk cpio libpcre3 openssl ca-certificates

Min Memory Requirement (free -m)

debian 10 >= 285M
debian 11 >= 440M
debian 12 >= 440M

Options

  • --help
  • -d/--debian [value]
    10 or strtch
    debian version, default10
  • -a/--arch [value]
    architecture version: amd64 i386 arm64
    defaultamd64
  • -m/--mirror [value]
    apt mirror, ex: -m https://opentuna.cn/debian
    or -m china, use mirror https://opentuna.cn/debian
  • --dns [value]
    default8.8.8.8
  • -u/--user [value]
    user name, default:root
  • -p/--password [value]
    user password, default:HelloDebian
  • --port [value]
    ssh port
  • -b/--biosdevname
    interface name not use ethx
  • --hostname
    default use $(hostname)
  • -6/--ipv6
    enable ipv6
  • --dhcp [value]
    1: use DHCP 0: static ip from current system default 1
  • --ip-addr [value]
    if not set, get current system ip addr
  • --ip-gate [value]
    if not set, get current system ip gate
  • --ip-mask [value]
    if not set, get current system ip mask

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages