Welcome 微信登录
编程资源 图片资源库 蚂蚁家优选

首页 / 操作系统 / Linux / Ubuntu的preseed文件

最近学习Ubuntu的Orchestra, 里面集成cobbler。也集成了preseed文件。这是我修改的preseed文件,这是ubuntu的Orchestra里自带的,orchestra.preseed我修改成下面这样。非常好用。# Use server kernel
d-i     base-installer/kernel/image     string linux-server# User Setup
#d-i    passwd/root-login    boolean false
#d-i    passwd/make-user    boolean true
#d-i    passwd/user-fullname    string ubuntu
#d-i    passwd/username    string ubuntu
#d-i    passwd/user-password-crypted password $6$.1eHH0iY$ArGzKX2YeQ3G6U.mlOO3A.NaL22Ewgz8Fi4qqz.Ns7EMKjEJRIW2Pm/TikDptZpuu7I92frytmk5YeL.9fRY4.
#d-i    passwd/user-uid    string
#d-i    user-setup/allow-password-weak    boolean false
#d-i    user-setup/encrypt-home    boolean false
#d-i    passwd/user-default-groups    string adm cdrom dialout lpadmin plugdev sambashare# Account setup
d-i passwd/root-login boolean root
d-i passwd/root-password password root123
d-i passwd/root-password-again password root123
d-i user-setup/allow-password-weak boolean true
d-i passwd/make-user boolean false
d-i user-setup/encrypt-home boolean false
# APT
$SNIPPET("orchestra_proxy")# By default the installer requires that repositories be authenticated
# using a known gpg key. This setting can be used to disable that
# authentication. Warning: Insecure, not recommended.
d-i debian-installer/allow_unauthenticated string false# Lang
d-i     pkgsel/language-packs   multiselect en
d-i     pkgsel/update-policy    select none
d-i     pkgsel/updatedb boolean true# Boot-loader
d-i     grub-installer/skip     boolean false
d-i     lilo-installer/skip     boolean false
d-i     grub-installer/only_debian      boolean true
d-i     grub-installer/with_other_os    boolean true
d-i     finish-install/keep-consoles    boolean false
d-i     finish-install/reboot_in_progress       note# Eject cdrom
d-i     cdrom-detect/eject      boolean true# Do not halt/poweroff after install
d-i     debian-installer/exit/halt      boolean false
d-i     debian-installer/exit/poweroff  boolean false# Install minimum packages that are essential for server bootstrapping
$SNIPPET("orchestra_client_package")# Launch byobu by default
#byobu   byobu/launch-by-default boolean true# Set cloud-init data source to manual seeding
cloud-init      cloud-init/datasources  multiselect     NoCloud# Set rsyslog server
$SNIPPET("orchestra_rsyslog_client_config")# Post scripts. Executes late command and disables PXE
#d-i    preseed/late_command string true &&
       $SNIPPET("orchestra_rsyslog_obtain_keys") &&
       $SNIPPET("orchestra_disable_pxe") &&
       true更多Ubuntu相关信息见Ubuntu 专题页面 http://www.linuxidc.com/topicnews.aspx?tid=2Ubuntu日常技巧OpenStack的EPEL 包中启动顺序的问题相关资讯      Ubuntu入门教程 
  • 10个调整让Ubuntu宾至如归  (08/25/2014 06:51:16)
  • Ubuntu 11.10 升级到 12.04 后   (05/20/2012 08:58:03)
  • Ubuntu 直接修改IPMIweb登录密码  (05/19/2012 08:24:01)
  • Ubuntu 12.04 Server安装Gerrit  (05/21/2012 05:42:28)
  • Ubuntu下的IPMI  (05/19/2012 08:25:38)
  • Ubuntu修改locale把语言环境变量改  (05/12/2012 07:25:46)
本文评论 查看全部评论 (0)
表情: 姓名: 字数