을 시작 포장 내 build.json
파일입니다하지데비안 인스톨러는 여기
{
"builders": [{
"type": "virtualbox-iso",
"guest_os_type": "Ubuntu_64",
"http_directory": "http",
"iso_url": "http://mirrors.evowise.com/linuxmint//stable/18/linuxmint-18-xfce-64bit.iso",
"iso_checksum_url": "https://ftp.heanet.ie/mirrors/linuxmint.com/stable/18/sha256sum.txt",
"iso_checksum_type": "sha256",
"ssh_username": "vagrant",
"ssh_password": "vagrant",
"boot_command": [
"<esc><wait><esc><wait>",
"/casper/vmlinuz initrd=/casper/initrd.lz",
" url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/preseed.cfg",
" boot=casper automatic-ubiquity quiet splash noprompt",
" -- ",
"<enter>"
],
"shutdown_command": "echo 'vagrant' | sudo -S shutdown -P now",
"hard_drive_interface": "sata",
"output_directory": "target",
"vboxmanage": [
["modifyvm", "{{.Name}}", "--memory", "2048"],
["modifyvm", "{{.Name}}", "--cpus", "2"]
]
}]
}
내 preseed.cfg
HTTP 서버와 url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/preseed.cfg
를 통해 게시
#Step 1
d-i debian-installer/locale string en_US
#Step 2
d-i time/zone string Europe/Warsaw
#Step 3
d-i console-setup/layoutcode string pl
#Step 4
d-i partman-auto/disk string /dev/sda
d-i partman-auto/method string regular
d-i partman-auto/choose_recipe select atomic
d-i partman/confirm_write_new_label boolean true
d-i partman/choose_partition select finish
d-i partman/confirm boolean true
#Step 5
d-i passwd/user-fullname string vagrant
d-i passwd/username string vagrant
d-i passwd/user-password password vagrant
d-i passwd/user-password-again password vagrant
d-i user-setup/allow-password-weak boolean true
d-i netcfg/get_hostname string vagrant
d-i passwd/auto-login boolean true
# Use non-free packages
ubiquity ubiquity/use_nonfree boolean true
#if you want to start commands after the installation
ubiquity ubiquity/success_command string in-target apt-get -y install openssh-server && /etc/init.d/ssh restart;
#Step 6
ubiquity ubiquity/summary note
ubiquity ubiquity/reboot boolean true
나의 이해가 "http_directory": "http"
입니다 (HTTP 하위 디렉토리에 있음)해야 그것을로드하십시오. 그러나 이것은 일어나지 않습니다. 기계는 Linux Mint로 부팅되며 GUI를 통해 수동으로 설치할 수 있습니다. 내가 뭘 놓치고 있니?
나는 민트에 민트 18 XFCE에서 17.3 XFCE 변경과가 설치 않습니다. 어떤 버그 야? – abc