Hi guys,
I have an issue wtih  ubuntu installation with image through local 
repository on my server, i've mount the installation iso and the 
destination is correct, for example "
http://my.server/ro/repo/ubuntu/$version/os/$arch"; but the error is "an 
installation step failed"

see the attachment file

Can you a suggest for me?

thanks 

-- 
You received this message because you are subscribed to the Google Groups 
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.
# Preseed produzione
# Locale
d-i debian-installer/locale string en_US
# country and keyboard settings are automatic. Keep them ...
# ... for wheezy and newer:
# modifica impostazione keyboard
# stringa originale
#d-i keyboard-configuration/xkb-keymap seen true
# stringa modificata
d-i keyboard-configuration/xkb-keymap select it

  # Static network configuration.
d-i preseed/early_command string /bin/killall.sh; /bin/netcfg
d-i netcfg/disable_autoconfig boolean true
d-i netcfg/dhcp_failed note
d-i netcfg/dhcp_options select Configure network manually
d-i netcfg/disable_dhcp boolean true
d-i netcfg/get_ipaddress string 172.16.2.194
d-i netcfg/get_netmask string 255.255.255.0
d-i netcfg/get_nameservers string 172.16.2.2 8.8.8.8
d-i netcfg/get_gateway string 172.16.2.1
d-i netcfg/confirm_static boolean true

# Network configuration
d-i netcfg/choose_interface select auto
d-i netcfg/get_hostname string clio-03.e4srv
d-i netcfg/get_domain string e4srv
d-i netcfg/wireless_wep string

d-i hw-detect/load_firmware boolean true


# Mirror settings
d-i mirror/country string manual
d-i mirror/http/hostname string moana.e4srv:80
d-i mirror/http/directory string /ro/repo/ubuntu/17.04/os/x86_64
d-i mirror/http/proxy string
d-i mirror/codename string zesty
d-i mirror/suite string zesty
d-i mirror/udeb/suite string zesty

# Time settings
d-i clock-setup/utc boolean true
d-i time/zone string UTC

# NTP
d-i clock-setup/ntp boolean true
d-i clock-setup/ntp-server string 0.debian.pool.ntp.org

# Set alignment for automatic partitioning
# Choices: cylinder, minimal, optimal
#d-i partman/alignment select cylinder



#
# 
https://askubuntu.com/questions/129670/how-do-i-modify-this-preseed-snippet-to-partition-my-hard-drive
# Partizione manuale
#d-i partman-auto/disk string /dev/sda
d-i partman-auto/method string regular

d-i partman-auto/expert_recipe string           \
boot-root ::                                    \
   2000 50 41000 ext4                           \
   $primary{ } $bootable{ }                     \
   method{ format } format{ }                   \
   use_filesystem{ } filesystem{ ext4 }         \
   mountpoint{ /boot }                          \
.                                               \
   50000 50 41000 ext4                          \
   method{ format } format{ }                   \
   use_filesystem{ } filesystem{ ext4 }         \
   mountpoint{ /home }                          \
.                                               \
   500 10000 1000000000 ext4                    \
   method{ format } format{ }                   \
   use_filesystem{ } filesystem{ ext4 }         \
   mountpoint{ / }                              \
.                                               \
   32000 512 33000 linux-swap                   \
   method{ swap } format{ }                     \
.                                               
#
# This makes partman automatically partition without confirmation, provided
# that you told it what to do using one of the methods above.
d-i partman/confirm_write_new_label boolean true
d-i partman/choose_partition select finish
d-i partman/confirm boolean true
d-i partman/confirm_nooverwrite boolean true

d-i partman/choose_partition select finish


d-i partman/confirm boolean true
d-i partman/confirm_nooverwrite boolean true




# User settings
#home not encrypted
d-i user-setup/encrypt-home boolean false
#
d-i passwd/root-password-crypted password 
$6$6L1V4/pabA/LKolN$KlMySR5h3AxUBQpFs23rnt1bhP14GTmmWYLvOf3GIWd0VZZSr4rUikBT0RFMqKYy0HnRIWMal4zV2nsTuWygZ.
user-setup-udeb passwd/root-login boolean true
#d-i passwd/make-user boolean false
d-i passwd/make-user boolean true
#user-setup-udeb passwd/make-user boolean false

# Aggiunge Utente E4
# To create a normal user account
d-i passwd/user-fullname string e4user
d-i passwd/username string e4user
# Normal user's password, either in clear text
d-i passwd/user-password-crypted password  
$6$6L1V4/pabA/LKolN$KlMySR5h3AxUBQpFs23rnt1bhP14GTmmWYLvOf3GIWd0VZZSr4rUikBT0RFMqKYy0HnRIWMal4zV2nsTuWygZ.




### APT setup Prova per KDE
# d-i apt-setup/non-free boolean true
# d-i apt-setup/contrib boolean true

# Install minimal task set (see tasksel --task-packages minimal)
#tasksel tasksel/first multiselect minimal, ssh-server, openssh-server

# Inatallazione Parte Grafica Desktop
tasksel tasksel/first multiselect ubuntu-desktop

# Install some base packages
d-i pkgsel/include string  lsb-release
d-i pkgsel/update-policy select unattended-upgrades
d-i pkgsel/upgrade select none

# Aggiunta pacchetti per openssh server (abilita ssh)
d-i pkgsel/include string openssh-server build-essential 
#ubiquity ubiquity/success_command string sed -i 
'/PermitRootLogin/c\PermitRootLogin yes' /etc/ssh/sshd_config
#d-i preseed/late_command string in-target sed -i 
'/PermitRootLogin/c\PermitRootLogin yes' /etc/ssh/sshd_config
#
#d-i preseed/late_command string sed -i 's/PermitRootLogin.*/PermitRootLogin 
yes/g' /etc/ssh/sshd_config
#
#d-i preseed/late_command string \
#    in-target sed -i 's/PermitRootLogin.*/PermitRootLogin yes/g' 
/etc/ssh/sshd_config


#popularity-contest popularity-contest/participate boolean false

#######

# APT setup

#d-i apt-setup/non-free                 boolean true
#d-i apt-setup/contrib                  boolean true

#d-i    debian-installer/allow_unauthenticated  string true

#tasksel        tasksel/first                   multiselect standard
#d-i pkgsel/include string  chkconfig snmpd lvm2 ssh sudo ntp ntpdate rsync 
emacs-nox vim-nox zsh elinks bzip2

popularity-contest popularity-contest/participate boolean false

######

# Boot loader settings
#grub-pc grub-pc/hidden_timeout boolean false
#grub-pc grub-pc/timeout string 10
d-i grub-installer/only_debian boolean true
d-i grub-installer/with_other_os boolean true
d-i grub-installer/bootdev string default
d-i finish-install/reboot_in_progress note

#
d-i preseed/late_command string wget -Y off 
http://srv-install.e4srv/unattended/finish?token=f7b1a9a1-90bc-4753-a833-3034ce4f61a4
 -O /target/tmp/finish.sh && in-target chmod +x /tmp/finish.sh && in-target 
/tmp/finish.sh
#!gpxe


kernel 
http://moana.e4srv/ro/repo/ubuntu/17.04/os/amd64/dists/zesty/main/installer-amd64/current/images/netboot/ubuntu-installer/amd64/linux
 interface=auto 
url=http://srv-install.e4srv/unattended/provision?token=f7b1a9a1-90bc-4753-a833-3034ce4f61a4&static=yes
 ramdisk_size=10800 root=/dev/rd/0 rw auto netcfg/disable_dhcp=true 
BOOTIF=${netX/mac} hostname=clio-03.e4srv console-setup/ask_detect=false 
console-setup/layout=USA console-setup/variant=USA 
keyboard-configuration/layoutcode=it locale=en_US 
netcfg/get_ipaddress=${netX/ip} netcfg/get_netmask=${netX/netmask} 
netcfg/get_gateway=${netX/gateway} netcfg/get_nameservers=${dns} 
netcfg/confirm_static=true
initrd 
http://moana.e4srv/ro/repo/ubuntu/17.04/os/amd64/dists/zesty/main/installer-amd64/current/images/netboot/ubuntu-installer/amd64/initrd.gz

boot
#
# This file was deployed via 'Preseed default PXELinux' template
#
# Supported host/hostgroup parameters:
#
# blacklist = module1, module2
#   Blacklisted kernel modules
#
# lang = en_US
#   System locale
#

DEFAULT linux

LABEL linux
    KERNEL boot/Ubuntu-17.04-x86_64-linux
    APPEND initrd=boot/Ubuntu-17.04-x86_64-initrd.gz interface=auto 
url=http://srv-install.e4srv/unattended/provision?token=f7b1a9a1-90bc-4753-a833-3034ce4f61a4
 ramdisk_size=10800 root=/dev/rd/0 rw auto hostname=clio-03.e4srv 
console-setup/ask_detect=false console-setup/layout=USA 
console-setup/variant=USA keyboard-configuration/layoutcode=us 
localechooser/translation/warn-light=true 
localechooser/translation/warn-severe=true locale=en_US
    IPAPPEND 2

Reply via email to