]> git.proxmox.com Git - pve-container.git/log
pve-container.git
7 years agoupdate_lxc_config: remove unused parameter
Wolfgang Bumiller [Thu, 28 Jul 2016 14:23:17 +0000 (16:23 +0200)]
update_lxc_config: remove unused parameter

7 years agoArchLinux: don't use the lxc/ subdir for ttys
Wolfgang Bumiller [Wed, 27 Jul 2016 09:05:52 +0000 (11:05 +0200)]
ArchLinux: don't use the lxc/ subdir for ttys

As lxc's archlinux config doesn't set the lxc/ tty subdir by
default either.

7 years agosetup: more flexible setup_container_getty_service
Wolfgang Bumiller [Wed, 27 Jul 2016 09:05:51 +0000 (11:05 +0200)]
setup: more flexible setup_container_getty_service

7 years agoadd status call to pct
Dominik Csapak [Mon, 18 Jul 2016 11:47:53 +0000 (13:47 +0200)]
add status call to pct

mostly copied from QemuServer

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agoallow deleting of container hostname
Dominik Csapak [Mon, 4 Jul 2016 13:36:16 +0000 (15:36 +0200)]
allow deleting of container hostname

since we allow to create a container without hostname
(we are using localhost by default then) and hostname
is marked optional in the JSONSchema of the config
we should be able to delete the hostname

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agopass datacenter.cfg's mac_prefix to random_ether_addr
Wolfgang Bumiller [Wed, 13 Jul 2016 14:25:43 +0000 (16:25 +0200)]
pass datacenter.cfg's mac_prefix to random_ether_addr

7 years agobump version to 1.0-71
Wolfgang Bumiller [Mon, 11 Jul 2016 10:35:28 +0000 (12:35 +0200)]
bump version to 1.0-71

7 years agofix a possible undefined value error
Wolfgang Bumiller [Mon, 11 Jul 2016 10:19:15 +0000 (12:19 +0200)]
fix a possible undefined value error

7 years agoprovide a better error message for rbd without krbd
Wolfgang Bumiller [Mon, 11 Jul 2016 10:19:14 +0000 (12:19 +0200)]
provide a better error message for rbd without krbd

7 years agocollect errors from all local volumes
Fabian Grünbichler [Mon, 11 Jul 2016 10:03:36 +0000 (12:03 +0200)]
collect errors from all local volumes

and then die with more meaningful/complete output, instead
of on the first encountered error.

7 years agoswitch order of disk checks
Fabian Grünbichler [Mon, 11 Jul 2016 10:03:35 +0000 (12:03 +0200)]
switch order of disk checks

to make log message more meaningful.
'storage' < 'snapshot' < 'config'

7 years agocollect and log origin of found local volumes
Fabian Grünbichler [Mon, 11 Jul 2016 10:03:34 +0000 (12:03 +0200)]
collect and log origin of found local volumes

just knowing that local disks prevent a migration is not
very helpful, so be a bit more verbose here.

7 years agoinclude custom lxc options when displaying config
Fabian Grünbichler [Tue, 5 Jul 2016 08:30:10 +0000 (10:30 +0200)]
include custom lxc options when displaying config

this makes the "pct config" output more complete, the object
returned by the API path contains the lxc options as parsed
by our config parser, e.g.:

   "lxc" : [
      [
         "lxc.cap.keep",
         "sys_time"
      ],
      [
         "lxc.cap.drop",
         "abc"
      ],
      [
         "lxc.cap.drop",
         ""
      ]
   ],

7 years agofix 1046: add non-snapshotted disks as unused
Fabian Grünbichler [Mon, 4 Jul 2016 11:04:13 +0000 (13:04 +0200)]
fix 1046: add non-snapshotted disks as unused

7 years agoadded 'pct df'
Wolfgang Bumiller [Mon, 4 Jul 2016 12:55:41 +0000 (14:55 +0200)]
added 'pct df'

This works on both online and offline containers. Offline
containers get mounted (with a 'mounted' lock) during the
operation.

The output is similar to 'df -h'.

Example output:
MP     Volume                  Size   Used Avail Use% Path
rootfs tank:subvol-400-disk-1  9.0G 184.9M  8.8G  0.0 /
mp0    /Custom/share          31.4G  26.3G  3.4G  0.8 /share

7 years agomake ${DEBS} target non-phony
Fabian Grünbichler [Tue, 28 Jun 2016 07:28:09 +0000 (09:28 +0200)]
make ${DEBS} target non-phony

7 years agoupdate make upload target
Fabian Grünbichler [Tue, 28 Jun 2016 07:19:59 +0000 (09:19 +0200)]
update make upload target

7 years agobump version to 1.0-70
Dietmar Maurer [Tue, 28 Jun 2016 06:26:53 +0000 (08:26 +0200)]
bump version to 1.0-70

7 years agofix #146 add name to backup log.
Wolfgang Link [Mon, 27 Jun 2016 12:37:13 +0000 (14:37 +0200)]
fix #146 add name to backup log.

7 years agobump version to 1.0-69
Dietmar Maurer [Tue, 21 Jun 2016 04:38:43 +0000 (06:38 +0200)]
bump version to 1.0-69

7 years agoadd checks from QemuMigrate
Fabian Grünbichler [Mon, 20 Jun 2016 13:13:45 +0000 (15:13 +0200)]
add checks from QemuMigrate

the following checks were copied from QemuMigrate and adapted for LXC:
- check volumes from current configuration AND snapshots
- look for and check lost/found volumes via PVE::Storage
- check for local linked clones

7 years agoadd @param to foreach_mountpoint(_xx)
Fabian Grünbichler [Mon, 20 Jun 2016 13:13:44 +0000 (15:13 +0200)]
add @param to foreach_mountpoint(_xx)

7 years agodocs: update mountpoint descriptions again
Fabian Grünbichler [Tue, 7 Jun 2016 09:55:24 +0000 (11:55 +0200)]
docs: update mountpoint descriptions again

7 years agobump version to 1.0-68
Dietmar Maurer [Tue, 7 Jun 2016 09:33:34 +0000 (11:33 +0200)]
bump version to 1.0-68

7 years agodocs: update mountpoint descriptions
Fabian Grünbichler [Tue, 7 Jun 2016 09:11:02 +0000 (11:11 +0200)]
docs: update mountpoint descriptions

7 years agouse PVE::Storage::extract_vzdump_config_tar
Fabian Grünbichler [Fri, 3 Jun 2016 09:09:19 +0000 (11:09 +0200)]
use PVE::Storage::extract_vzdump_config_tar

which is based on the former tar_archive_search_conf code

7 years agobump version to 1.0-67
Dietmar Maurer [Fri, 3 Jun 2016 08:34:09 +0000 (10:34 +0200)]
bump version to 1.0-67

7 years agouse empty config to reserve container ID
Fabian Grünbichler [Fri, 3 Jun 2016 07:56:17 +0000 (09:56 +0200)]
use empty config to reserve container ID

also adapt PVE::LXC::destroy_lxc_container to optionally
write an arbitray new config instead of deleting it
altogether. the old configuration is replaced by an empty
temporary configuration at the moment, but this could easily
be reused if/when a "create"-locked config is used instead
of an empty one.

7 years agosplit up create_rootfs and restore_and_configure
Fabian Grünbichler [Fri, 3 Jun 2016 07:56:16 +0000 (09:56 +0200)]
split up create_rootfs and restore_and_configure

these were only used once and their method signatures were
already quite long, so split up into
- delete old existing container and write new config
- mount
- restore archive / extract template
- restore configuration / setup new container
- unmount

7 years agoignore ro flag when creating/restoring CT
Fabian Grünbichler [Fri, 3 Jun 2016 07:56:15 +0000 (09:56 +0200)]
ignore ro flag when creating/restoring CT

7 years agofix and improve bindmount tests
Wolfgang Bumiller [Fri, 3 Jun 2016 07:54:04 +0000 (09:54 +0200)]
fix and improve bindmount tests

fixed leftover mounts after running the tests
added another testcase:
  inject symlink before mount() and restore before verify()

7 years agobindmount: catch rw/ro race and add tests
Wolfgang Bumiller [Thu, 2 Jun 2016 14:23:09 +0000 (16:23 +0200)]
bindmount: catch rw/ro race and add tests

rw/ro race occurs when a container contains the same bind
mount twice and another container contains a bind mount
containing the first container's destination. If the double
bind mounts are both meant to be read-only then the second
container could theoretically swap them out between the
mount and the read-only remount call, then swap them back
for the test. So to verify this we use the same file
descriptor we use for the dev/inode check and perform an
faccessat() call and expect it to return EROFS and nothing
else.

Also include O_NOFOLLOW in the checks' openat() calls.

7 years agomore changelogs...
Dietmar Maurer [Wed, 1 Jun 2016 09:31:09 +0000 (11:31 +0200)]
more changelogs...

7 years agoupdate changelog
Dietmar Maurer [Wed, 1 Jun 2016 09:27:38 +0000 (11:27 +0200)]
update changelog

7 years agodeal with a check_mount_path race condition
Wolfgang Bumiller [Wed, 1 Jun 2016 07:44:51 +0000 (09:44 +0200)]
deal with a check_mount_path race condition

While the container itself might not be running and cannot
influence the mounting between check_mount_path() and
mount(), this is a possibility when multiple containers
have write access to the same recursive bind mount
hierarchy.

This patch adds a walk_tree_nofollow() function performing
two things: It walks a path from a starting point following
no symlinks and erroring if it encounters one. And if
requested creates all the missing directories.
This replaces both the combination of check_mount_path() and
mkpath(), and the check_mount_path() in bindmount() while
giving the latter the ability to also access the "last
component" of the path via openat() a second time after
mounting (as an alternative to also including an fstatat()
syscall) in order to verify the path which was ultimately
mounted is indeed the path walked in the first check.

7 years agodon't allow automatic restore to dev/bind rootfs
Fabian Grünbichler [Mon, 30 May 2016 12:40:24 +0000 (14:40 +0200)]
don't allow automatic restore to dev/bind rootfs

we cannot delay the rootfs, but we also don't want
to automatically restore to a device or bind mount
because that might destroy existing data..

only allow this when explicitly requested via -rootfs

7 years agowarn about unsupported backup configuration
Fabian Grünbichler [Mon, 30 May 2016 12:40:22 +0000 (14:40 +0200)]
warn about unsupported backup configuration

7 years agoadd ignore_ro flag to mount_all
Fabian Grünbichler [Mon, 30 May 2016 12:40:20 +0000 (14:40 +0200)]
add ignore_ro flag to mount_all

7 years agoautomatically restore mountpoints from backup
Fabian Grünbichler [Mon, 30 May 2016 12:40:19 +0000 (14:40 +0200)]
automatically restore mountpoints from backup

if the mountpoint configuration is not explicitly provided
via -rootfs or -mpX , recreate all volume mountpoints on the
provided -storage , restore the archive and then add
non-volume mountpoints back to the configuration.

if -rootfs (and optionally any -mpX) are provided, the old
configuration contained in the backup archive is ignored.
this allows reconfiguration of mountpoints when restoring a
backup, e.g. to change mountpoint paths or other options. in
this mode restoring backups to bind or device mountpoints is
also possible.

7 years agoupdate changelog
Dietmar Maurer [Wed, 25 May 2016 08:18:38 +0000 (10:18 +0200)]
update changelog

7 years agodelete correct parent key
Fabian Grünbichler [Wed, 25 May 2016 08:05:18 +0000 (10:05 +0200)]
delete correct parent key

7 years agofix deletion of backup snapshots
Fabian Grünbichler [Wed, 25 May 2016 08:05:17 +0000 (10:05 +0200)]
fix deletion of backup snapshots

add missing checks for non-backed up mountpoints

7 years agoexclude non-volume mps from backup
Fabian Grünbichler [Wed, 25 May 2016 08:05:16 +0000 (10:05 +0200)]
exclude non-volume mps from backup

even if backup is set to 1.

inform about excluded bind/dev/backup-disabled mountpoints

7 years agoLXC::Config: make mountpoint_backup_enabled a class method
Wolfgang Bumiller [Tue, 24 May 2016 08:57:45 +0000 (10:57 +0200)]
LXC::Config: make mountpoint_backup_enabled a class method

All subs in there are defined as class method and the commit
which introduced this also used it as one in
PVE::VZDump::LXC and thereby broke vzdump on containers
as it passes wrong parameters to the function.

7 years agoClose #999: gentoo: hostname is in /etc/conf.d/hostname
Wolfgang Bumiller [Mon, 23 May 2016 10:53:06 +0000 (12:53 +0200)]
Close #999: gentoo: hostname is in /etc/conf.d/hostname

This is also a shell-style assignment but should only
contain the hostname and nothing else. Although if someone
complains we could switch to ct_modify_file there as well.

7 years agouse BEGIN/END markers for gateway scripts
Wolfgang Bumiller [Fri, 13 May 2016 09:10:21 +0000 (11:10 +0200)]
use BEGIN/END markers for gateway scripts

remove_gateway_scripts() for debian containers can easily
match user-created scripts since it's not strict enough,
which now that we always clean up gateways appears to be an
issue for some.

To deal with this we update this portion to also use
BEGIN/END markers like we did with other files. (Note that
this means we explicitly include the BEGIN/END comment lines
in the 'attribute' list while parsing sections.)

In order to not break existing container configurations we
now remove either a begin/end marked section in
remove_gateway_scripts(), or if none was found fall back to
a much stricter variant of the old matching algorithm which
only triggers if the gateway setup lines are complete and
unmodified.

7 years agobump version to 1.0-66
Dietmar Maurer [Mon, 23 May 2016 05:05:28 +0000 (07:05 +0200)]
bump version to 1.0-66

7 years agoSetup: add gentoo support
Wolfgang Bumiller [Thu, 19 May 2016 13:21:43 +0000 (15:21 +0200)]
Setup: add gentoo support

With DHCPv6 we're in a similar boat as with Alpine: The
default templates only ship busybox' udhcpc which doesn't do
ipv6 at all, and if dhclient/dhcpcd are installed there'd
still be no way to configure ONLY dhcpv6 without including
dhcpv4. (We could just dump in a dhclientv6.sh script to
/lib64/netifrc/net/dhclientv6.sh if someone absolutely needs
it...)

Also the fact that the network configuration can in *theory*
be a full blown bash script is a bit inconvenient.

7 years agocleanup descriptions
Dietmar Maurer [Thu, 19 May 2016 14:10:47 +0000 (16:10 +0200)]
cleanup descriptions

7 years agobump version to 1.0-65
Dietmar Maurer [Wed, 18 May 2016 09:30:35 +0000 (11:30 +0200)]
bump version to 1.0-65

7 years agoallow VLAN 1 tag in containers
Dietmar Maurer [Wed, 18 May 2016 09:29:12 +0000 (11:29 +0200)]
allow VLAN 1 tag in containers

7 years agoremove backup property from rootfs
Dietmar Maurer [Wed, 18 May 2016 08:26:14 +0000 (10:26 +0200)]
remove backup property from rootfs

Because it only makes sense for mount points. We always backup
rootfs anyways.

7 years agonew helper mountpoint_backup_enabled()
Dietmar Maurer [Wed, 18 May 2016 05:40:59 +0000 (07:40 +0200)]
new helper mountpoint_backup_enabled()

to test if backup is enabled for a specific mount point.

7 years agoadd missing class PVE::LXC::Config
Dietmar Maurer [Wed, 18 May 2016 05:25:14 +0000 (07:25 +0200)]
add missing class PVE::LXC::Config

7 years agobump version to 1.0-64
Dietmar Maurer [Sat, 14 May 2016 07:06:36 +0000 (09:06 +0200)]
bump version to 1.0-64

7 years agosetup: add ct_is_executable wrapper
Wolfgang Bumiller [Thu, 12 May 2016 08:46:41 +0000 (10:46 +0200)]
setup: add ct_is_executable wrapper

(This is only a minor fix since these functions are run
while chrooted into the container directory anyway.)

7 years agoAlpine.pm: remove unused variable
Dietmar Maurer [Thu, 12 May 2016 07:32:04 +0000 (09:32 +0200)]
Alpine.pm: remove unused variable

7 years agosetup: check if securetty exists
Thomas Lamprecht [Wed, 11 May 2016 15:06:14 +0000 (17:06 +0200)]
setup: check if securetty exists

If securetty does not exists yet (e.g. some Alpine 3.2 templates do
that) this leads to an die on CT creation, although we do not need
an existing securetty file as all login devices/ttys are already
allowed if not existing.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
7 years agoimprove error message on container without rootfs
Dietmar Maurer [Thu, 12 May 2016 04:21:07 +0000 (06:21 +0200)]
improve error message on container without rootfs

7 years agouse run_cli_handler() instead of depreciated run_cli()
Dietmar Maurer [Thu, 12 May 2016 04:09:34 +0000 (06:09 +0200)]
use run_cli_handler() instead of depreciated run_cli()

7 years agoremove unneccessary format_description
Dietmar Maurer [Wed, 11 May 2016 09:23:26 +0000 (11:23 +0200)]
remove unneccessary format_description

7 years agohwaddr: improve property description
Dietmar Maurer [Sat, 7 May 2016 09:08:44 +0000 (11:08 +0200)]
hwaddr: improve property description

7 years agoexport $netconf_desc, so that we can generate docs
Dietmar Maurer [Sat, 7 May 2016 06:58:01 +0000 (08:58 +0200)]
export $netconf_desc, so that we can generate docs

7 years agoupdate changelog
Dietmar Maurer [Wed, 4 May 2016 10:05:09 +0000 (12:05 +0200)]
update changelog

7 years agofix typos
Fabian Grünbichler [Wed, 4 May 2016 09:08:32 +0000 (11:08 +0200)]
fix typos

7 years agofix #971: don't activate shared storage in offline migration
Fabian Grünbichler [Wed, 4 May 2016 09:08:31 +0000 (11:08 +0200)]
fix #971: don't activate shared storage in offline migration

8 years agoupdate changelog
Dietmar Maurer [Tue, 3 May 2016 06:04:46 +0000 (08:04 +0200)]
update changelog

8 years agoAlpine: generate correct inittab
Thomas Lamprecht [Mon, 2 May 2016 14:10:59 +0000 (16:10 +0200)]
Alpine: generate correct inittab

Previously inittab had a hardcoded number of ttys, remove them and
re-add the ones configured by the user.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
8 years agoAlpine: fixup securetty
Thomas Lamprecht [Mon, 2 May 2016 13:26:50 +0000 (15:26 +0200)]
Alpine: fixup securetty

It seems busybox has some problems with links thus the tty dev
detection doesn't work, as workaround add also the lxc/tty[1-4] and
lxc/console devs to securetty to allow root login over the console.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
8 years agobump version to 1.0-63
Dietmar Maurer [Tue, 3 May 2016 05:19:38 +0000 (07:19 +0200)]
bump version to 1.0-63

8 years agocleanup gateway hooks in debian network setup
Fabian Grünbichler [Mon, 2 May 2016 13:41:14 +0000 (15:41 +0200)]
cleanup gateway hooks in debian network setup

remove the calls to "ip route" in post-up and pre-down even
if no new gateway was defined for an interface, otherwise
those hooks will remain until manually removed.

8 years agofix uninitialized value warning
Fabian Grünbichler [Mon, 2 May 2016 13:41:13 +0000 (15:41 +0200)]
fix uninitialized value warning

8 years agobump version to 1.0-62, set RELEASE=4.2
Dietmar Maurer [Tue, 26 Apr 2016 14:01:04 +0000 (16:01 +0200)]
bump version to 1.0-62, set RELEASE=4.2

8 years agocentos: fixup ipv6 out-of-subnet route
Wolfgang Bumiller [Mon, 25 Apr 2016 14:20:43 +0000 (16:20 +0200)]
centos: fixup ipv6 out-of-subnet route

Centos needs these in route6-$iface, not route-$iface.
It also seems to make sense to not include the
IPV6_DEFAULTGW when a route6-$iface file is used containing
the default gateway.

Also adding the device to the routes.

8 years agodebian: always include the 'dev' portion in explicit routes
Wolfgang Bumiller [Mon, 25 Apr 2016 14:20:42 +0000 (16:20 +0200)]
debian: always include the 'dev' portion in explicit routes

This should be safer (and would have fixed the link-local
case for debian, too).

8 years agosetup: deal with link-local gateways
Wolfgang Bumiller [Mon, 25 Apr 2016 14:20:41 +0000 (16:20 +0200)]
setup: deal with link-local gateways

We used to write out special routes for gateways outside the
IP address' subnet, but link-local addresses don't need the
extra route.

8 years agohonor acl setting with zfs
Wolfgang Bumiller [Thu, 14 Apr 2016 07:53:02 +0000 (09:53 +0200)]
honor acl setting with zfs

8 years agocleanup OVZ config recovery
Fabian Grünbichler [Thu, 21 Apr 2016 07:19:02 +0000 (09:19 +0200)]
cleanup OVZ config recovery

$conf->{rootfs} is supposed to be the property string value,
not the parsed property string. since this method is called
only twice (once for retrieving the rootfs information only,
once for retrieving the config only) and the second call
never needs the 'rootfs' part of the configuration, we can
safely not set it instead of introducing ugly workarounds
(e.g. setting a fake volume path or worse).

8 years agoDebian: correctly setup getty service on systemd based containers
Dietmar Maurer [Thu, 21 Apr 2016 05:07:15 +0000 (07:07 +0200)]
Debian: correctly setup getty service on systemd based containers

File /etc/inittab does not exist on systemd based containers.

8 years agoupdate changelog
Dietmar Maurer [Wed, 20 Apr 2016 16:07:37 +0000 (18:07 +0200)]
update changelog

8 years agocode cleanup
Dietmar Maurer [Wed, 20 Apr 2016 16:06:24 +0000 (18:06 +0200)]
code cleanup

8 years agopush/pull permissions: use octal by default
Fabian Grünbichler [Wed, 20 Apr 2016 12:04:23 +0000 (14:04 +0200)]
push/pull permissions: use octal by default

8 years agofix #942: restore ACL and other rootfs options from backup
Fabian Grünbichler [Wed, 20 Apr 2016 10:30:44 +0000 (12:30 +0200)]
fix #942: restore ACL and other rootfs options from backup

unless overridden by explicitly setting the rootfs
parameter, restoring from a backup will now copy the rootfs
properties from the backup archive, except for 'volume' and
'ro' (for obvious reasons).

8 years agoskip some additional config options when restoring
Fabian Grünbichler [Wed, 20 Apr 2016 10:30:43 +0000 (12:30 +0200)]
skip some additional config options when restoring

-unusedX in all cases, even when creating
-parent when merging config from backup

8 years agodon't keep old existing config when restoring
Fabian Grünbichler [Wed, 20 Apr 2016 10:30:42 +0000 (12:30 +0200)]
don't keep old existing config when restoring

this breaks the expected ranking of configuration options
and does not make much sense in any case.

8 years agobump version to 1.0-61
Dietmar Maurer [Wed, 20 Apr 2016 09:25:56 +0000 (11:25 +0200)]
bump version to 1.0-61

8 years agoadd support for ubuntu xenial
Dietmar Maurer [Wed, 20 Apr 2016 09:21:40 +0000 (11:21 +0200)]
add support for ubuntu xenial

8 years agobump version to 1.0-60
Dietmar Maurer [Tue, 19 Apr 2016 07:05:03 +0000 (09:05 +0200)]
bump version to 1.0-60

8 years agovm_status: return more verbose HA state
Thomas Lamprecht [Mon, 18 Apr 2016 12:52:03 +0000 (14:52 +0200)]
vm_status: return more verbose HA state

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
8 years agoupdate changelog
Dietmar Maurer [Wed, 13 Apr 2016 08:46:32 +0000 (10:46 +0200)]
update changelog

8 years agocleanup previous patch: remove unused var
Dietmar Maurer [Wed, 13 Apr 2016 08:45:42 +0000 (10:45 +0200)]
cleanup previous patch: remove unused var

8 years agoFix #929: delete veths in the post-stop hook
Wolfgang Bumiller [Wed, 13 Apr 2016 08:33:58 +0000 (10:33 +0200)]
Fix #929: delete veths in the post-stop hook

Unfortunately it can still happen that LXC's network link
deletion netlink messages get dropped/ignored. This is the
same issue as initially reported on the forums by sigxcpu in
October, however, it seems that some users hit this problem
more reliably currently.

8 years agobump version to 1.0-59
Dietmar Maurer [Wed, 13 Apr 2016 08:32:17 +0000 (10:32 +0200)]
bump version to 1.0-59

8 years agosetup: ability to ignore files
Wolfgang Bumiller [Wed, 13 Apr 2016 06:59:50 +0000 (08:59 +0200)]
setup: ability to ignore files

Make the ct_* file wrapper functions ignore files for which
a file named .pve-ignore.$name exists.

8 years agovzdump: fix redirection to stdout
Dietmar Maurer [Tue, 12 Apr 2016 06:52:05 +0000 (08:52 +0200)]
vzdump: fix redirection to stdout

8 years agoupdate changelog
Dietmar Maurer [Mon, 11 Apr 2016 06:57:18 +0000 (08:57 +0200)]
update changelog

8 years agodebian: support containers upgraded to use systemd
Wolfgang Bumiller [Wed, 6 Apr 2016 12:32:39 +0000 (14:32 +0200)]
debian: support containers upgraded to use systemd

These otherwise spawn consoles at /dev/pts%I and cause
errors in the logs about the container-getty@ services.
This happens for instance when dist-upgrading from wheezy to
jessie.

8 years agosymlink pct.conf.5 to ct.conf
Dietmar Maurer [Sat, 9 Apr 2016 08:16:25 +0000 (10:16 +0200)]
symlink pct.conf.5 to ct.conf

8 years agofix max disk size in container status
Dominik Csapak [Fri, 8 Apr 2016 14:10:42 +0000 (16:10 +0200)]
fix max disk size in container status

we already get the bytes from parse_ct_rootfs (via JSONParser disk_size),
no need to multiply it again

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoregex cleanup
Wolfgang Bumiller [Wed, 6 Apr 2016 12:32:38 +0000 (14:32 +0200)]
regex cleanup