Articles of preseed

自动安装使用preesed – grub确认消息问题

我正在使用预定义和kickstart方法的组合来执行自定义的ubuntu 14.04服务器的自动安装。 除了恼人的grub确认信息,一切都很好,如下所示: kickstart文件: #Generated by Kickstart Configurator #platform=AMD64 or Intel EM64T #System language lang en_US #Language modules to install langsupport en_US #System keyboard keyboard us #System mouse mouse #System timezone timezone Asia/Tokyo #Root password rootpw –disabled #Initial user user ubuntu –fullname "ubuntu" –iscrypted –password xxx #Reboot after installation reboot #Use text mode install text […]

DFS-R预填充的目标文件夹仍然覆盖。 如何避免?

我有两台服务器,我在testing之前,我在现场环境中这样做。 Server 2003 R2,完全修补。 我在server1上有20个数据,我想把它复制到server2上的一个文件夹。 如果我使用robocopy将要从server1复制到server2的文件夹内容的确切副本,然后链接到DFS-R复制组中的这些文件夹,我认为应该比较每一边的文件,并将这些文件同步那是不一样的 由于我只是用“robocopy \ server1 \ target \ server2 \ target / SEC / MIR”复制它们应该是相同的。 实际情况是,DFS-R从服务器1获取数据,并在服务器2文件夹中的所有文件上铺平道路。 它传输所有20个文件,这正是我想要避免的。 – 下面是我的目标更多的信息,但不要让它混淆回答上述 – 这个testing的第二阶段是将数据从\ server2 \ target复制到\ server2 \ target_new,停止DFS-R,将target重命名为target_old,target_newredirect到目标,然后重启DFS-R,并且不会注意到被复制的文件夹并改名。 这是因为我要从X:\ jobdocs获取数据并将其移动到Y:\,并将Y:\作为X:\文件系统中的一个连接点。 我无法更改驱动器号或文件夹path,或者中断应用程序。 X:\ jobdocs正在通过WAN复制到另一个数据中心。 我不希望重新同步500个演出数据只是因为我在本地复制到不同的文件夹,所以我想弄清楚如何保持DFS-R的快乐和无知的变化。

在pxe安装过程中mount.cifs不受支持,但在重新启动后工作。 为什么?

我无法在pxe-unattended安装中添加AD。 问题是mount.cifs,一个脚本,它给了我pxe启动安装以下错误,工作2分钟后,重新启动后。 有没有人有关于这里发生的事情的想法? 谢谢。 ################# expect: /usr/bin/expect /usr/share/man/man1/expect.1.gz ######################## Reading package lists… Building dependency tree… Reading state information… smbclient is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. mount: /bin/mount /sbin/mount.ntfs-3g /sbin/mount.fuse /sbin/mount.cifs /sbin/mount.lowntfs-3g /sbin/mount.smbfs /sbin/mount.ntfs-fuse /sbin/mount.ntfs /usr/share/man/man8/mount.8.gz /usr/share/man/man2/mount.2.gz /bin/mount /sbin/mount.cifs ################### spawn **mount.cifs //xx.xx.xx.xx/software /home/sysop/fs -o […]

预置文件在Ubuntu服务器iso安装中的位置在哪里?

我从ISO安装了一群Ubuntu服务器虚拟机,并且想要编辑ISO来包含一个自定义的预置。 我有这里所有的文档: https : //help.ubuntu.com/lts/installation-guide/i386/preseed-using.html#preseedloading 不过,我有点困惑,在哪里把preseed文件。 我不需要HTTP / FTP – 我只是想解压缩ISO,包括预先设定的文件/设置,然后再压缩。 编辑:我通过解压ISO扫描,并在/isolinux/txt.cfg中find以下内容 default install label install menu label ^Install Ubuntu Server kernel /install/vmlinuz append file=/cdrom/preseed/ubuntu-server.seed vga=788 initrd=/install/initrd.gz quiet — 我已经尝试了以下步骤,但ISO启动时,似乎没有拿起我的新设置: 解压缩Ubuntu安装ISO到一个目录 编辑/preseed/ubuntu-server.seed ,在文件末尾添加以下内容: di debian-installer/locale string en_US di console-setup/ask_detect boolean false di keyboard-configuration/modelcode string pc105 di keyboard-configuration/layoutcode string us di netcfg/get_hostname string myhost 使用ImgBurn用目录的内容创build一个新的ISO 将ISO设置为可引导的ISO,并select引导映像为/isolinux/isolinux.bin […]

工头无人值守安装

我目前正在编写一个预先安装的configuration,在Ubuntu 12.04上安装新手机。 目的是能够重复创build一个工头安装,通过PXE在全新的机器上部署OpenStack。 我想我可以通过手动黑客来实现这一点,但对我来说,这似乎是过度的。 领class是否有可能提供自己? 一个“临时”的领class是否可以创build一个安装映像并自行提供?

用复杂的分区scheme来安装debian稳定版 – 缺less物理卷

我的个人系统运行在: 一个打开/启动分区 分别随机密钥encryption/ tmp和交换分区和 一个密码encryptionbtrfs lvm卷控股一切。 我最近的项目是使用debian安装程序的预先安装,并尝试自动重新创build。 以下是我想到的。 这会失败,错误在于自动分区配方包含不包含任何物理卷的卷组的定义。 特别是有关encryption案件的文档很less,有人可以弄清楚如何解决这个问题。 谢谢你的时间,约翰 di partman-auto/disk string /dev/sda di partman-lvm/device_remove_lvm boolean true di partman-md/device_remove_md boolean true di partman-lvm/confirm boolean true di partman-lvm/confirm_nooverwrite boolean true di partman-auto-lvm/new_vg_name multiselect vg_crypto_swap, vg_crypto_tmp, \ vg_crypto_root di partman-auto/expert_recipe string \ joh-complex :: \ 100 150 200 ext3 \ $primary{ } \ $bootable{ } […]

Ubuntu预装静态IPconfiguration(virt-install)

我想用virt-install和preseedconfiguration来创buildUbuntu 14.04 VM。 我提供了: di netcfg/enable boolean true di netcfg/choose_interface select auto di netcfg/disable_dhcp boolean true di netcfg/get_ipaddress string 192.168.1.210 di netcfg/get_netmask string /24 di netcfg/get_gateway string 192.168.1.254 di netcfg/get_hostname string ubuntu.com di netcfg/get_nameservers string 8.8.8.8 di netcfg/confirm_static boolean true 但无论如何,我有另一个客户虚拟机IP。 需要你的帮助

预安装debian安装 – EFI

在安装debian的过程中,EFI分区在ext4格式化。 我试图preseed安装debian jessie,我无法得到它的工作,因为UEFI分区格式化ext4(得到blkid信息)。 我预先分区如下: di partman-auto/expert_recipe string \ boot-root :: \ 1 1 1 free \ $gptonly{ } \ $primary{ } \ $bios_boot{ } \ method{ biosgrub } \ . \ 512 100 512 vfat \ $gptonly{ } \ $primary{ } \ method{ efi } \ format{ } \ $lvmignore{ } \ mountpoint{ /boot/efi } […]

为什么这个预设gitolite失败?

我正在Debian Squeeze盒子上安装gitolite,使用下面的preseed: gitolite gitolite/gituser string git gitolite gitolite/adminkey string ssh-rsa AAAAB3ECT gitolite gitolite/gitdir string /var/lib/git 安装时: # debconf-set-selections /var/cache/debconf/gitolite.preseed # apt-get install gitolite Reading package lists… Done Building dependency tree Reading state information… Done Suggested packages: git-daemon-run gitweb The following NEW packages will be installed: gitolite 0 upgraded, 1 newly installed, 0 to remove and […]

为什么我的Ubuntu 12.04 Preseed文件不能与LVM一起使用

这是我的预置文件: di partman-auto/disk string /dev/sda di partman-auto/method string lvm di partman-lvm/device_remove_lvm boolean true di partman-lvm/device_remove_lvm_span boolean true di partman-auto/purge_lvm_from_device boolean true di partman-auto-lvm/guided_size string max di partman-md/device_remove_md boolean true di partman-auto-lvm/new_vg_name string vg0 di partman/alignment select cylinder di partman-auto/choose_recipe select boot-root di partman-auto/expert_recipe string \ boot-root :: \ 256 8000 256 ext2 \ $primary{ } […]