5
0
mirror of git://git.proxmox.com/git/pve-common.git synced 2025-01-19 18:03:33 +03:00

95 Commits

Author SHA1 Message Date
Alexandre Derumier
db00f1a22f copy_bridge : copy multicast_snooping && multicast_querier
If we create new vlan bridge, we want to copy multicast options if user have tunned them

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2013-03-15 06:12:59 +01:00
Dietmar Maurer
7238ea8dbf bump version to 1.0-48 2013-02-25 06:21:26 +01:00
Damien PIQUET
23b5624575 Modified IPv4 validation function, included Net::IP
Signed-off-by: Damien PIQUET <piqudam@gmail.com>
2013-02-25 06:21:13 +01:00
Dietmar Maurer
a13c6f08a3 fix bug #335: correctly verify ipv4 network masks 2013-02-22 09:14:10 +01:00
Dietmar Maurer
ddd3d22425 add parser for /etc/iscsi/initiatorname.iscsi 2013-02-13 12:49:59 +01:00
Dietmar Maurer
bd8002ddcd bump version to 1.0-46 2013-02-13 10:57:52 +01:00
Dietmar Maurer
02c9a6b439 Revert "pve-common: PVE/Network: rework of activate_bridge_vlan"
This reverts commit fa49ab1a0875a89230378c99b4b6f9ccfa0edb6b.

This still cause problems with bonding device. Nobody really knows
whats wrong. Also, this is not fully compatible with existing setups.
2013-02-13 10:53:49 +01:00
Dietmar Maurer
0aaf0ca4bf revert tc rate filter changes 2013-02-01 10:13:11 +01:00
Dietmar Maurer
a01c54654f query KSM page sharing
bump version to 1.0-45
2013-02-01 09:05:18 +01:00
Dietmar Maurer
d2e14098f7 bmump version to 1.0-44 2013-01-28 11:57:48 +01:00
Stefan Priebe
fa49ab1a08 pve-common: PVE/Network: rework of activate_bridge_vlan
- use ip command instead of old vconfig
- activate gvrp by default (it doesn't harm if the switch does not support it or it is disabled)
- use bridge instead of raw ethernet device as vlan bridge

Signed-off-by: Stefan Priebe <s.priebe@profihost.ag>
2013-01-28 11:55:37 +01:00
Dietmar Maurer
ca402c9521 fix syntax error 2013-01-28 11:23:39 +01:00
Dietmar Maurer
fb572a9395 tc: use rate filter with mtu 64k
also see: http://www.redhat.com/archives/libvir-list/2012-June/msg01306.html
2013-01-28 07:00:04 +01:00
Dietmar Maurer
4235c2f396 correctly count sockets
Physical IDs may not start at 0.

bump version to 1.0-41
2012-12-31 08:24:49 +01:00
Dietmar Maurer
a417477c43 implement afterfork callback 2012-12-10 12:50:38 +01:00
Dietmar Maurer
3ce640abb3 bump version to 1.0-39 2012-10-31 13:55:26 +01:00
Stefan Priebe
6606fa124f PVE/AbstractMigrate: remove hardcoded blowfish cipher
Signed-off-by: Stefan Priebe <s.priebe@profihost.ag>
2012-10-31 13:54:33 +01:00
Dietmar Maurer
b5d12b0845 fix bug #273: retry flock if it fails with EINTR 2012-10-31 08:22:40 +01:00
Dietmar Maurer
e0cabd2caa fix bug #264: use option pipefail for shell commands
Normal unix shell pipe return the exits status of the last command.
If pipefail is enabled, the pipeline's return status is the value of
the last  (rightmost)  command to  exit  with a non-zero status, or zero
if all commands exit successfully.
2012-10-29 09:45:50 +01:00
Dietmar Maurer
ec6d95b45d new helper wait_for_vnc_port() 2012-10-24 08:56:18 +02:00
Dietmar Maurer
845f01b6c4 fix bug in read_memory_usage 2012-10-15 06:33:43 +02:00
Dietmar Maurer
88955a2e69 file_read_firstline: avoid warning with empty files 2012-10-02 08:05:33 +02:00
Dietmar Maurer
eb9e24df41 fix run_command: restore umask correctly 2012-09-26 13:18:19 +02:00
Dietmar Maurer
39ed346252 fix typo in error message 2012-09-25 06:09:04 +02:00
Dietmar Maurer
035c760b53 minor fix: remove debug output 2012-09-11 09:22:47 +02:00
Dietmar Maurer
4df6a1644a fix regex for network devices 2012-08-02 07:28:38 +02:00
Dietmar Maurer
36ac0df3f3 use rsync flags AX (preserve ACLs and xattr) 2012-06-14 09:08:48 +02:00
Dietmar Maurer
614a15c04f increase RELEASE to 2.1 2012-05-22 07:18:42 +02:00
Dietmar Maurer
212b08e8ec added SectionConfig.pm, base class for Storage and Auth plugins. 2012-05-21 11:55:59 +02:00
Dietmar Maurer
3702f038a2 use DNS compatible regex in upid parser 2012-04-20 08:33:21 +02:00
Dietmar Maurer
c10cc11237 add Turkish keyboard mappings 2012-04-11 08:35:47 +02:00
Dietmar Maurer
e6db55c0db fix bug #135: use DNS compatible naming for 'pve-node' 2012-04-02 14:12:44 +02:00
Dietmar Maurer
ce33e978f8 fix bug #135: allow single letter 'dns-name', allow to start name with numbers 2012-04-02 12:09:15 +02:00
Dietmar Maurer
74d1b045bd new function to setup tc rate limits. 2012-03-28 10:35:41 +02:00
Dietmar Maurer
b9436cda61 add vlan setup code to PVE::Network 2012-03-28 10:24:28 +02:00
Dietmar Maurer
4b6a5be973 remove exec permissions 2012-03-28 10:21:25 +02:00
Dietmar Maurer
7eb283fbd2 moved dir_glob_regex() and dir_glob_foreach() from PVE::Storage 2012-03-28 07:58:05 +02:00
Dietmar Maurer
66bda4e09d return number of sockets in read_cpuinfo 2012-03-26 07:54:29 +02:00
Dietmar Maurer
568ba6a471 use Digest::SHA instead of Digest::SHA1 2012-03-20 11:21:38 +01:00
Dietmar Maurer
ed4e6e0c51 fix bug #116, #103: try to keep ordering in /etc/network/interfaces 2012-03-19 13:30:40 +01:00
Dietmar Maurer
34ebb22690 remove 'name' to the list of utf8 encoded parameters.
Revert previous change. Add dns-name format instead.
2012-03-13 06:56:31 +01:00
Dietmar Maurer
490aade412 add 'name' to the list of utf8 encoded parameters 2012-03-12 12:31:59 +01:00
Dietmar Maurer
c9dc864557 try to keep ordering in /etc/network/interfaces 2012-03-02 12:49:01 +01:00
Dietmar Maurer
adbc988db3 cleanup error message from usermod command 2012-03-01 12:43:15 +01:00
Dietmar Maurer
72ca652054 try to keep comments in /etc/network/interfaces 2012-03-01 09:52:12 +01:00
Dietmar Maurer
9934cd0bd1 add Swedish keymap 2012-02-27 09:47:07 +01:00
Dietmar Maurer
50f6a3fc19 increase version to 1.0-14 for RC1 2012-02-16 15:12:38 +01:00
Dietmar Maurer
05e787c503 moved format definition from pve-storage 2012-01-26 11:54:42 +01:00
Dietmar Maurer
3250f5c799 allow to pass undefined value to template_replace 2012-01-26 06:56:56 +01:00
Dietmar Maurer
7f0f0610ab fix usage string 2012-01-24 06:49:29 +01:00