Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
server
virtinstaller
Commits
170c311b
Commit
170c311b
authored
Mar 09, 2016
by
Server Team
Browse files
[BUGFIX] hostname and password issue
parent
ab601feb
Changes
2
Hide whitespace changes
Inline
Side-by-side
preseed.cfg
View file @
170c311b
...
...
@@ -113,8 +113,8 @@ d-i mirror/http/proxy string
d-i passwd/make-user boolean false
# Root password, either in clear text
d-i passwd/root-password password vduenvlgquie
d-i passwd/root-password-again password vduenvlgquie
#
d-i passwd/root-password password vduenvlgquie
#
d-i passwd/root-password-again password vduenvlgquie
# or encrypted using a crypt(3) hash.
#d-i passwd/root-password-crypted password [crypt(3) hash]
...
...
virt-install-debian
View file @
170c311b
...
...
@@ -37,4 +37,4 @@ virt-install \
--console
pty,target_type
=
serial
\
--location
'http://ftp.de.debian.org/debian/dists/jessie/main/installer-amd64/'
\
--initrd-inject
'/usr/local/bin/preseed.cfg'
\
--extra-args
"auto=true hostname=
$HOST_NAME
passwd/root-password=
$PASSWORD
passwd/root-password-again=
$PASSWORD
netcfg/get_ipaddress=
$NET_IPV4_ADDRESS
netcfg/get_netmask=
$NET_IPV4_NETMASK
netcfg/get_gateway=
$NET_IPV4_GATEWAY
console=ttyS0,115200n8 serial"
--extra-args
"auto=true
netcfg/get_hostname=
$HOST_NAME
netcfg/
hostname=
$HOST_NAME
passwd/root-password=
$PASSWORD
passwd/root-password-again=
$PASSWORD
netcfg/get_ipaddress=
$NET_IPV4_ADDRESS
netcfg/get_netmask=
$NET_IPV4_NETMASK
netcfg/get_gateway=
$NET_IPV4_GATEWAY
console=ttyS0,115200n8 serial"
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment