가상머신1012; Ǹ16;면 계속 프/196;비1200;닝1012; Ȣ16;면서 썼다가 1648;ǽ12;다가 Ȣ16;lj16; 1089;업1060; 160;1080;습니다.
1060;,144; 꽤 귀찮아서 1088;ᇼ1;1004;/196; 해버리lj16;,172; 엄청 편합니다..
Mikrotik 같1008; ᅆ1;우에lj16; next 서버1064;가 설1221; 해1452;고 ǥ12;트 1060;0120;1648; 설1221; Ȣ16;면 .121;니다.
먼1200; 1060;0120;1648;를 0155;습니다.
OS_TYPE="amd64"
DIST_VER="precise"
MIRROR_HOST="ftp.daum.net"
MIRROR_PATH="/ubuntu/dists/${DIST_VER}/main/installer-${OS_TYPE}/current/images/netboot/ubuntu-installer/${OS_TYPE}/"
default configure lj16; 다1020;과 같1060; 설1221;합니다.
pxelinux lj16; tftp 서버/196; 세ᔚ1;해야 Ȣ16;고 ipxe/gpxe lj16; 웹(HTTP)1004;/196; ǥ12;ᔚ1;1060; .121;니다.
1452;소lj16; 1201;1208;7176; 웹서버/196; 0148;ǂ12;1469;니다.
# ipxe/gpxe
:ubuntu
kernel http://foo.bar/xxxxx/linux
imgargs linux auto=true fb=false url=http://foo.bar/xxxxx/preseed.cfg locale=en_US console-setup/ask_detect=false debian-installer/keymap=us netcfg/choose_interface=eth0 netcfg/get_hostname=ubuntu ipv6.disable=1
boot || goto failed
goto start
#pxelinux.0
prompt 0
timeout 0
default 12.04-amd64
LABEL 12.04-amd64
160;160;160;160;160;160;160;160;MENU LABEL Auto Ubuntu 12.04 preseed (64-bit)
160;160;160;160;160;160;160;160;TEXT HELP
160;160;160;160;160;160;160;160;Automatic installation using preseed. Please tab to set hostname.
160;160;160;160;160;160;160;160;ENDTEXT
160;160;160;160;160;160;160;160;KERNEL linux
160;160;160;160;160;160;160;160;APPEND initrd=initrd.gz auto=true locale=en_US console-setup/ask_detect=false debian-installer/keymap=us netcfg/choose_interface=eth0 netcfg/get_hostname=ubuntu ipv6.disable=1
다1020; Preseed 를 참고Ȣ16;여 생성합니다.
(코드가 길기 ǐ12;문에 링크/196; 대체 합니다)
코드 안에 160;d-i passwd/user-password-crypted password 뒤에 ǥ12;ǥ16;1008; Password hash 를 생성 해야 Ȣ16;lj16;데, 다1020; 명/161;Ǻ12;/196; 생성 할수 1080;습니다.
wget -qO- https://raw.github.com/ziozzang/home-server/master/module/gen_shadow.py | python - password
password lj16; 1201;1208;7176; 치환해서 나온 결과를 붙여1452;면 .121;니다.
그리고160;d-i preseed/late_command string 에 1201;1208;한 명/161;Ǻ12;를 넣Ǻ12; 1452;셔도 .121;니다.
1200;lj16; 1200;기에 ssh key 를 복사 해.160;고, sudoer 를 풀고 locale-gen 1012; 해1452;lj16; 명/161;Ǻ12;를 넣었습니다.
|