# HG changeset patch # User erjo@Portable # Date 1320137765 -3600 # Node ID 7af7c96012c372d8e42474fa9e006b36ef63b0c7 # Parent 2d20f72ffb19cb1aa4569471679398fb9d577988 !Add some docs diff -r 2d20f72ffb19 -r 7af7c96012c3 docs/README.proxmox --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/docs/README.proxmox Tue Nov 01 09:56:05 2011 +0100 @@ -0,0 +1,22 @@ +Slitaz VZ - Configuring Proxmox server for SliTaz templates. +============================================================ + + +Advice: All scripts files have been tested only on PROXMOX provided by OVH. +Network config may différ from the legacy PROXMOX distro. + +Any suggestion or bug reports are welcomed : erjo@slitaz.org + +1) Download the config file slitaz.conf. This file goes in /etc/vz/dists + + # wget http://hg.slitaz.org/slitaz-vz/file/2d20f72ffb19/vz-scripts/proxmox-ovh/slitaz.conf + +2) Download and copy slitaz-add_ip.sh, slitaz-del_ip.sh, slitaz-set_hosname.sh to /etc/vz/dists/scripts + + # cd /etc/vz/dists + # wget http://hg.slitaz.org/slitaz-vz/file/2d20f72ffb19/vz-scripts/proxmox-ovh/slitaz-add_ip.sh + # wget http://hg.slitaz.org/slitaz-vz/file/2d20f72ffb19/vz-scripts/proxmox-ovh/slitaz-del_ip.sh + # wget http://hg.slitaz.org/slitaz-vz/file/2d20f72ffb19/vz-scripts/proxmox-ovh/slitaz-set_dns.sh + + +3) Now you can create your VM with vzctl or proxmox Web GUI. diff -r 2d20f72ffb19 -r 7af7c96012c3 docs/Slitaz Template HOWTO.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/docs/Slitaz Template HOWTO.txt Tue Nov 01 09:56:05 2011 +0100 @@ -0,0 +1,35 @@ +Slitaz template for OpenVZ +========================== + + +1) Télécharger l'image ISO + +2) Monter l'ISO sur un répertoire. + +3) Créez un répertoire temporaire pour y extraire le rootfs et placez dans ce répertoire. + + # mkdir 777 + # cd 777 + +4) Extraie le fichier rootfs de l'image dans le répertoire temporaire + + # lzma -d -c -S gz /mnt/boot/rootfs.gz | cpio -iv + +5) Installez bash et tous les programmes que vous souhaitez trouver dans votre template. + + # chroot 777 + # tazpkg get-install bash + +Note: Pensez à vider le cache avant de quitter le chroot (tazpkg clean_cache). + +6) Quittez le répertoire temporaire et lancez la commande make + + # make -f Makefile.vz template + +* network.sh, hwconf.sh are moved from $RUN_SCRIPTS + hald, dbus, slim form $RUN_DAEMONS + + + + +