小编Ale*_*lex的帖子

使用 Puppet 仅管理配置文件的一部分(多行 file_line)

有一个配置文件,例如 /etc/network/interfaces。我只想使用 Puppet 管理该文件的某个部分。

例子:

# At the beginning at least is some dynamic content that can be different
# from machine to machine and changed by an admin manually
auto eth0
iface eth0 inet static
    address 192.168.108.5
    netmask 255.255.255.0

# BEGIN PUPPET WLAN0
allow-hotplug wlan0
iface wlan0 inet static
    address 192.168.109.5
    netmask 255.255.255.0
# END PUPPET WLAN0

# Potentially more stuff that I do not want to touch through Puppet
# But could be static if it makes it …
Run Code Online (Sandbox Code Playgroud)

puppet

6
推荐指数
1
解决办法
1万
查看次数

用于创建预种子分区的配方的工具

我想使用自定义分区配方预置 Ubuntu 12.04 安装程序。我的磁盘布局相当复杂,配方语法本身也是如此。手工制作这样的食谱似乎很乏味且容易出错。

是否有工具可以简单地从现有磁盘创建配方,包括其分区和 LVM 配置?

partition ubuntu preseed debian-installer

5
推荐指数
1
解决办法
1976
查看次数

标签 统计

debian-installer ×1

partition ×1

preseed ×1

puppet ×1

ubuntu ×1