]> git.proxmox.com Git - pve-container.git/log
pve-container.git
9 years agoallow/use empty network type
Dietmar Maurer [Wed, 6 May 2015 07:50:00 +0000 (09:50 +0200)]
allow/use empty network type

9 years agouse mingetty on centos6
Dietmar Maurer [Wed, 6 May 2015 07:01:16 +0000 (09:01 +0200)]
use mingetty on centos6

9 years agotrigger pve-api-updates event
Dietmar Maurer [Tue, 5 May 2015 12:45:23 +0000 (14:45 +0200)]
trigger pve-api-updates event

9 years agonew LXCSetup hook template_fixup
Dietmar Maurer [Tue, 5 May 2015 11:26:16 +0000 (13:26 +0200)]
new LXCSetup hook template_fixup

We use this to update/convert old templates to work with LXC

9 years agoadd test case for centos6
Dietmar Maurer [Tue, 5 May 2015 10:39:29 +0000 (12:39 +0200)]
add test case for centos6

9 years agoadd class for redhat based containers
Dietmar Maurer [Tue, 5 May 2015 10:34:48 +0000 (12:34 +0200)]
add class for redhat based containers

9 years agocreate lockdir if not exist.
Alexandre Derumier [Sat, 2 May 2015 15:07:05 +0000 (17:07 +0200)]
create lockdir if not exist.

/run/ is a tmpfs on jessie and don't persist across reboot

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
9 years agouse new subvolume API for zfspool
Dietmar Maurer [Fri, 1 May 2015 12:53:02 +0000 (14:53 +0200)]
use new subvolume API for zfspool

9 years agouse pve.volid if set
Dietmar Maurer [Fri, 1 May 2015 12:27:28 +0000 (14:27 +0200)]
use pve.volid if set

9 years agobump version to 0.5-1
Dietmar Maurer [Thu, 30 Apr 2015 16:46:45 +0000 (18:46 +0200)]
bump version to 0.5-1

9 years agomerge config at restore
Dietmar Maurer [Thu, 30 Apr 2015 16:44:24 +0000 (18:44 +0200)]
merge config at restore

9 years agofix restore from STDIN
Dietmar Maurer [Wed, 29 Apr 2015 10:11:46 +0000 (12:11 +0200)]
fix restore from STDIN

9 years agoimplement restore command
Dietmar Maurer [Wed, 29 Apr 2015 09:59:10 +0000 (11:59 +0200)]
implement restore command

9 years agoimplement vzdump plugin for LXC
Dietmar Maurer [Wed, 29 Apr 2015 06:24:09 +0000 (08:24 +0200)]
implement vzdump plugin for LXC

9 years agocorrectly include PVE::Storage
Dietmar Maurer [Mon, 27 Apr 2015 09:03:02 +0000 (11:03 +0200)]
correctly include PVE::Storage

9 years agouse loop mount instead of qemu-nbd
Dietmar Maurer [Mon, 27 Apr 2015 07:26:20 +0000 (09:26 +0200)]
use loop mount instead of qemu-nbd

This is less overhead.

9 years agosave volid inside config, so that we can cleanly destroy the container
Dietmar Maurer [Mon, 27 Apr 2015 07:24:37 +0000 (09:24 +0200)]
save volid inside config, so that we can cleanly destroy the container

9 years agoadd code to use qemu-nbd with qcow2 images
Dietmar Maurer [Sat, 25 Apr 2015 05:40:08 +0000 (07:40 +0200)]
add code to use qemu-nbd with qcow2 images

9 years agoimplement disk size parameter
Dietmar Maurer [Fri, 24 Apr 2015 16:14:39 +0000 (18:14 +0200)]
implement disk size parameter

9 years agoPVE::LXCCreate, use our own class instead of running extenal lxc-create
Dietmar Maurer [Fri, 24 Apr 2015 14:49:29 +0000 (16:49 +0200)]
PVE::LXCCreate, use our own class instead of running extenal lxc-create

This way we can use all PVE::Storage features. This patch
uses a raw image for rootfs, which is loop mounted by lxc.

9 years agobump version to 0.4-1
Dietmar Maurer [Thu, 23 Apr 2015 08:59:10 +0000 (10:59 +0200)]
bump version to 0.4-1

9 years agorename test directories
Dietmar Maurer [Thu, 23 Apr 2015 08:56:19 +0000 (10:56 +0200)]
rename test directories

9 years agouse dynamically created plugin objects for LXSetup
Dietmar Maurer [Thu, 23 Apr 2015 08:49:25 +0000 (10:49 +0200)]
use dynamically created plugin objects for LXSetup

So that we can add additional information like the OS version.

9 years agofix dns setup when using host dns configuration
Dietmar Maurer [Thu, 23 Apr 2015 07:49:33 +0000 (09:49 +0200)]
fix dns setup when using host dns configuration

9 years agoallow to setup root password
Dietmar Maurer [Thu, 23 Apr 2015 07:28:24 +0000 (09:28 +0200)]
allow to setup root password

9 years agoimprove parameter verification for nameserver and searchdomain
Dietmar Maurer [Thu, 23 Apr 2015 06:28:00 +0000 (08:28 +0200)]
improve parameter verification for nameserver and searchdomain

9 years agoimplement dns setup for containers
Dietmar Maurer [Wed, 22 Apr 2015 14:47:03 +0000 (16:47 +0200)]
implement dns setup for containers

9 years agoconside searchdomain when updating /etc/hosts
Dietmar Maurer [Wed, 22 Apr 2015 14:12:24 +0000 (16:12 +0200)]
conside searchdomain when updating /etc/hosts

9 years agoimplement nameserver and searchdomain options
Dietmar Maurer [Wed, 22 Apr 2015 09:09:20 +0000 (11:09 +0200)]
implement nameserver and searchdomain options

9 years agoimplement startup option
Dietmar Maurer [Wed, 22 Apr 2015 08:48:31 +0000 (10:48 +0200)]
implement startup option

9 years agoimplement onboot flag
Dietmar Maurer [Wed, 22 Apr 2015 06:45:18 +0000 (08:45 +0200)]
implement onboot flag

9 years agoimplement cpuunits, cleanup code
Dietmar Maurer [Wed, 22 Apr 2015 06:40:13 +0000 (08:40 +0200)]
implement cpuunits, cleanup code

9 years agoadd firewall and vlan tag network options
Dietmar Maurer [Wed, 22 Apr 2015 06:03:47 +0000 (08:03 +0200)]
add firewall and vlan tag network options

9 years agobump version to 0.3-1
Dietmar Maurer [Wed, 22 Apr 2015 05:50:10 +0000 (07:50 +0200)]
bump version to 0.3-1

9 years agoimplement lxcnetaddbr to bring up network
Dietmar Maurer [Wed, 22 Apr 2015 05:45:22 +0000 (07:45 +0200)]
implement lxcnetaddbr to bring up network

We do not use the lxc.network.link property anymore,
because we dynamically create the link name at startup,
depending on vlan settings. So we use pve.network.bridge
instead.

9 years agoimplement swap and cpulimit
Dietmar Maurer [Tue, 21 Apr 2015 10:26:34 +0000 (12:26 +0200)]
implement swap and cpulimit

9 years agoadd regression tests for inittab
Dietmar Maurer [Mon, 20 Apr 2015 06:24:09 +0000 (08:24 +0200)]
add regression tests for inittab

9 years agowrite inittab inside container
Dietmar Maurer [Mon, 20 Apr 2015 06:22:13 +0000 (08:22 +0200)]
write inittab inside container

9 years agoadd regression tests for network setup
Dietmar Maurer [Mon, 20 Apr 2015 05:11:30 +0000 (07:11 +0200)]
add regression tests for network setup

9 years agoadd mount hook, chnage network config for ip setup
Dietmar Maurer [Mon, 20 Apr 2015 05:06:48 +0000 (07:06 +0200)]
add mount hook, chnage network config for ip setup

We cannot use lxc.nextwork.ipv4 like setting, because that
causes lxc to manipulate network setup at startup. After
that a container is unable to setup interfaces correctly.
So we use extra setting for ip setup:

 pve.network.ip
 pve.network gw
 pve.network.ip6
 pve.network.gw6

9 years agoimplement setup_network for debian
Dietmar Maurer [Sun, 19 Apr 2015 12:07:20 +0000 (14:07 +0200)]
implement setup_network for debian

9 years agoautodetect OS distribution
Dietmar Maurer [Sun, 19 Apr 2015 07:01:38 +0000 (09:01 +0200)]
autodetect OS distribution

9 years agoadd regression test suite
Dietmar Maurer [Sun, 19 Apr 2015 06:48:23 +0000 (08:48 +0200)]
add regression test suite

9 years agoadd helper classes to setup container configuration
Dietmar Maurer [Sat, 18 Apr 2015 14:00:06 +0000 (16:00 +0200)]
add helper classes to setup container configuration

9 years agobump version to 0.2-1
Dietmar Maurer [Sat, 18 Apr 2015 08:39:16 +0000 (10:39 +0200)]
bump version to 0.2-1

9 years agoimprove CLI, add start/stop/shutdown/console/enter/...
Dietmar Maurer [Sat, 18 Apr 2015 08:37:08 +0000 (10:37 +0200)]
improve CLI, add start/stop/shutdown/console/enter/...

9 years agoset uptime if VM is running (dummy)
Dietmar Maurer [Sat, 18 Apr 2015 07:34:13 +0000 (09:34 +0200)]
set uptime if VM is running (dummy)

I do not know how to get real uptime?

9 years agodisable debugging code
Dietmar Maurer [Sat, 18 Apr 2015 07:25:13 +0000 (09:25 +0200)]
disable debugging code

9 years agonew helper find_lxc_console_pids
Dietmar Maurer [Sat, 18 Apr 2015 06:32:58 +0000 (08:32 +0200)]
new helper find_lxc_console_pids

9 years agoimplement console API
Dietmar Maurer [Fri, 17 Apr 2015 14:34:15 +0000 (16:34 +0200)]
implement console API

9 years agoimplement API for start/stop, depend on pve-ha-manager
Dietmar Maurer [Fri, 17 Apr 2015 13:20:56 +0000 (15:20 +0200)]
implement API for start/stop, depend on pve-ha-manager

9 years agoimprove vmstatus: include memory and disk usage
Dietmar Maurer [Fri, 17 Apr 2015 10:23:58 +0000 (12:23 +0200)]
improve vmstatus: include memory and disk usage

9 years agonicely format 'pct list' output
Dietmar Maurer [Fri, 17 Apr 2015 09:20:38 +0000 (11:20 +0200)]
nicely format 'pct list' output

9 years agoallow to get/set memory and swap
Dietmar Maurer [Fri, 17 Apr 2015 07:40:55 +0000 (09:40 +0200)]
allow to get/set memory and swap

9 years agoimprove lxc config parser
Dietmar Maurer [Fri, 17 Apr 2015 05:20:54 +0000 (07:20 +0200)]
improve lxc config parser

9 years agovmstatus: add dummy values
Dietmar Maurer [Thu, 16 Apr 2015 14:19:49 +0000 (16:19 +0200)]
vmstatus: add dummy values

9 years agoallow to set network interfaces
Dietmar Maurer [Thu, 16 Apr 2015 12:34:41 +0000 (14:34 +0200)]
allow to set network interfaces

9 years agoimplement update_vm API (change hostname for now)
Dietmar Maurer [Thu, 16 Apr 2015 09:44:38 +0000 (11:44 +0200)]
implement update_vm API (change hostname for now)

9 years agoimplement create_vm API
Dietmar Maurer [Thu, 16 Apr 2015 09:16:50 +0000 (11:16 +0200)]
implement create_vm API

9 years agoinitial commit
Dietmar Maurer [Thu, 16 Apr 2015 05:10:26 +0000 (07:10 +0200)]
initial commit