2014-01-09 23:04:46 +00:00
|
|
|
- debootstrap
|
|
|
|
x setup arch
|
2014-01-10 09:46:09 +00:00
|
|
|
x allow cdist to configure debootstrapped directory using cdist
|
|
|
|
x include sshd
|
|
|
|
x configure network (eth0, dhcp)
|
|
|
|
x various mkfs variants
|
|
|
|
- various fdisk tools
|
2014-01-09 23:04:46 +00:00
|
|
|
|
2014-01-10 09:46:09 +00:00
|
|
|
- add option for different initial manifest
|
|
|
|
- allow -, stdin usage
|
2014-01-11 21:34:44 +00:00
|
|
|
- allow to replace current manifest (later)
|
2014-01-09 23:04:46 +00:00
|
|
|
|
2014-01-11 21:34:44 +00:00
|
|
|
x trigger
|
2014-01-10 09:46:09 +00:00
|
|
|
- can be handled in the manifest of the user
|
2014-01-09 23:04:46 +00:00
|
|
|
|
2014-01-10 09:46:09 +00:00
|
|
|
- remove /var/cache/apt/archives/* ?
|
2014-01-11 21:34:44 +00:00
|
|
|
- later, optimisation level
|
|
|
|
|
|
|
|
|
|
|
|
- bug: cdist config als root!
|
2014-01-09 23:04:46 +00:00
|
|
|
|
2014-01-10 09:46:09 +00:00
|
|
|
- fix linux-image name (amd64)
|
2014-01-09 23:04:46 +00:00
|
|
|
|
2014-01-11 21:34:44 +00:00
|
|
|
- ln -s /sbin/init /init
|
|
|
|
|
2014-01-10 09:46:09 +00:00
|
|
|
- blog!
|
|
|
|
- self configuring
|
|
|
|
|
2014-01-11 21:34:44 +00:00
|
|
|
x pxe
|
2014-01-10 09:46:09 +00:00
|
|
|
/pxe/
|
|
|
|
- pxelinux.0
|
|
|
|
- linux
|
|
|
|
- initramfs
|
|
|
|
- pxelinux.cfg/
|
|
|
|
- default
|
|
|
|
|
|
|
|
- iso
|
2014-01-11 21:34:44 +00:00
|
|
|
- later
|
|
|
|
- usb stick (+efi version)
|
|
|
|
- later
|
2014-01-10 09:46:09 +00:00
|
|
|
|
|
|
|
- add unit tests
|
|
|
|
|
2014-01-11 21:45:38 +00:00
|
|
|
- testing with qemu
|
|
|
|
[22:43] bento:vm-tests% qemu-system-x86_64 -m 2G -boot order=cn -drive file=testhd1,if=virtio -net nic -net user,tftp=$(pwd -P)/tftp,bootfile=/pxelinux.0,hostfwd=tcp::7777-:22 -enable-kvm
|
|
|
|
|
|
|
|
|
2014-01-10 09:46:09 +00:00
|
|
|
--------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
[1:16] bento:~% sudo cdist preos -vc ~nico/preos-tests/preos03
|
|
|
|
INFO: cdist: version 3.0.0-38-gea286c6
|
|
|
|
INFO: /home/users/nico/preos-tests/preos03: Running global explorers
|
|
|
|
INFO: /home/users/nico/preos-tests/preos03: Running initial manifest /tmp/tmpxbquwe/manifest
|
|
|
|
INFO: /home/users/nico/preos-tests/preos03: Running manifest and explorers for __file/etc/network/interfaces
|
|
|
|
INFO: /home/users/nico/preos-tests/preos03: Generating code for __file/etc/network/interfaces
|
|
|
|
INFO: /home/users/nico/preos-tests/preos03: Running manifest and explorers for __package/xfsprogs
|
|
|
|
INFO: /home/users/nico/preos-tests/preos03: Running manifest and explorers for __package/reiser4progs
|
|
|
|
INFO: /home/users/nico/preos-tests/preos03: Running manifest and explorers for __package/jfsutils
|
|
|
|
INFO: /home/users/nico/preos-tests/preos03: Running manifest and explorers for __package/e2fsprogs
|
|
|
|
INFO: /home/users/nico/preos-tests/preos03: Running manifest and explorers for __package/btrfs-tools
|
|
|
|
INFO: /home/users/nico/preos-tests/preos03: Running manifest and explorers for __package/file
|
|
|
|
INFO: /home/users/nico/preos-tests/preos03: Running manifest and explorers for __package/syslinux
|
|
|
|
INFO: /home/users/nico/preos-tests/preos03: Running manifest and explorers for __package/openssh-server
|
|
|
|
INFO: /home/users/nico/preos-tests/preos03: Running manifest and explorers for __package/linux-image-amd64
|
|
|
|
INFO: /home/users/nico/preos-tests/preos03: Running manifest and explorers for __package_apt/linux-image-amd64
|
|
|
|
INFO: /home/users/nico/preos-tests/preos03: Generating code for __package_apt/linux-image-amd64
|
|
|
|
INFO: /home/users/nico/preos-tests/preos03: Running manifest and explorers for __package_apt/openssh-server
|
|
|
|
INFO: /home/users/nico/preos-tests/preos03: Generating code for __package_apt/openssh-server
|
|
|
|
INFO: /home/users/nico/preos-tests/preos03: Running manifest and explorers for __package_apt/syslinux
|
|
|
|
INFO: /home/users/nico/preos-tests/preos03: Generating code for __package_apt/syslinux
|
|
|
|
INFO: /home/users/nico/preos-tests/preos03: Running manifest and explorers for __package_apt/file
|
|
|
|
INFO: /home/users/nico/preos-tests/preos03: Generating code for __package_apt/file
|
|
|
|
INFO: /home/users/nico/preos-tests/preos03: Running manifest and explorers for __package_apt/btrfs-tools
|
|
|
|
INFO: /home/users/nico/preos-tests/preos03: Generating code for __package_apt/btrfs-tools
|
|
|
|
INFO: /home/users/nico/preos-tests/preos03: Running manifest and explorers for __package_apt/e2fsprogs
|
|
|
|
INFO: /home/users/nico/preos-tests/preos03: Generating code for __package_apt/e2fsprogs
|
|
|
|
INFO: /home/users/nico/preos-tests/preos03: Running manifest and explorers for __package_apt/jfsutils
|
|
|
|
INFO: /home/users/nico/preos-tests/preos03: Generating code for __package_apt/jfsutils
|
|
|
|
INFO: /home/users/nico/preos-tests/preos03: Running manifest and explorers for __package_apt/reiser4progs
|
|
|
|
INFO: /home/users/nico/preos-tests/preos03: Generating code for __package_apt/reiser4progs
|
|
|
|
INFO: /home/users/nico/preos-tests/preos03: Running manifest and explorers for __package_apt/xfsprogs
|
|
|
|
INFO: /home/users/nico/preos-tests/preos03: Generating code for __package_apt/xfsprogs
|
|
|
|
INFO: /home/users/nico/preos-tests/preos03: Generating code for __package/xfsprogs
|
|
|
|
INFO: /home/users/nico/preos-tests/preos03: Generating code for __package/reiser4progs
|
|
|
|
INFO: /home/users/nico/preos-tests/preos03: Generating code for __package/jfsutils
|
|
|
|
INFO: /home/users/nico/preos-tests/preos03: Generating code for __package/e2fsprogs
|
|
|
|
INFO: /home/users/nico/preos-tests/preos03: Generating code for __package/btrfs-tools
|
|
|
|
INFO: /home/users/nico/preos-tests/preos03: Generating code for __package/file
|
|
|
|
INFO: /home/users/nico/preos-tests/preos03: Generating code for __package/syslinux
|
|
|
|
INFO: /home/users/nico/preos-tests/preos03: Generating code for __package/openssh-server
|
|
|
|
INFO: /home/users/nico/preos-tests/preos03: Generating code for __package/linux-image-amd64
|
|
|
|
INFO: /home/users/nico/preos-tests/preos03: Finished successful run in 2.546635866165161 seconds
|
|
|
|
[1:16] bento:~%
|
2014-01-09 23:04:46 +00:00
|
|
|
|
2014-01-11 21:34:44 +00:00
|
|
|
--------------------------------------------------------------------------------
|
|
|
|
[21:14] bento:vm-tests% qemu-system-x86_64 -m 2G -boot order=cn -drive file=testhd1,if=virtio -net nic -net user,tftp=$(pwd -P)/tftp,bootfile=/pxelinux.0
|
|
|
|
|
|
|
|
--------------------------------------------------------------------------------
|
|
|
|
[21:16] bento:preos-tests% sudo cdist preos -vp /home/users/nico/vm-tests/tftp /home/users/nico/preos-tests/preos03/
|
|
|
|
INFO: cdist: version 3.0.0-42-g0d78ab3
|
|
|
|
INFO: cdist.preos: Creating kernel ...
|
|
|
|
INFO: cdist.preos: Creating initramfs ...
|
|
|
|
760780 blocks
|
|
|
|
INFO: cdist.preos: Creating pxe configuration ...
|
|
|
|
INFO: cdist.preos: Creating pxelinux.0 ...
|
|
|
|
|