Overview
| Comment: | Added kvm user creation into postinst script |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
665cd70e2c757e4cd5ab8f32eadca8dc |
| User & Date: | vitus on 2017-08-30 18:12:01.842 |
| Other Links: | manifest | tags |
Context
|
2018-07-13
| ||
| 15:00 | Added RemainAfterExit to service file to mark service running even if no autostart VMs exist. This allows to stop manually stared machines during system shutdown check-in: 942bcecae4 user: vitus tags: trunk | |
|
2017-08-30
| ||
| 18:12 | Added kvm user creation into postinst script check-in: 665cd70e2c user: vitus tags: trunk | |
| 11:45 | Fixed typo in unit file. Incremented debian package version check-in: 648764b0ec user: vitus tags: trunk | |
Changes
Modified debian/changelog
from [2147a991cd]
to [39b466e948].
1 2 3 4 5 6 7 | vws (0.5-2) unstable; urgency=medium * Added dpkg-statoverride for qemu-bridge-helper * Fixed typo in service file -- Victor Wagner <vitus@wagner.pp.ru> Wed, 30 Aug 2017 14:44:22 +0300 | > > > > > > > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
vws (0.5-3) UNRELEASED; urgency=medium
* Added creation of user kvm (to own autostarted VMs) into postinst
script
-- Victor Wagner <vitus@wagner.pp.ru> Wed, 30 Aug 2017 21:10:48 +0300
vws (0.5-2) unstable; urgency=medium
* Added dpkg-statoverride for qemu-bridge-helper
* Fixed typo in service file
-- Victor Wagner <vitus@wagner.pp.ru> Wed, 30 Aug 2017 14:44:22 +0300
|
| ︙ | ︙ |
Modified debian/postinst
from [6e58d0897a]
to [9ba20bb7bc].
| ︙ | ︙ | |||
18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
# the debian-policy package
case "$1" in
configure)
update-rc.d vws defaults
dpkg-statoverride --update --add root kvm 4750 /usr/lib/qemu/qemu-bridge-helper
;;
abort-upgrade|abort-remove|abort-deconfigure)
;;
*)
echo "postinst called with unknown argument \`$1'" >&2
| > | 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 |
# the debian-policy package
case "$1" in
configure)
update-rc.d vws defaults
dpkg-statoverride --update --add root kvm 4750 /usr/lib/qemu/qemu-bridge-helper
id -u kvm >/dev/null 2>&1 || adduser --system --ingroup kvm --home /home/virtual/vws --no-create-home kvm
;;
abort-upgrade|abort-remove|abort-deconfigure)
;;
*)
echo "postinst called with unknown argument \`$1'" >&2
|
| ︙ | ︙ |