[node-patches] Change in ovirt-node[master]: f19: Drop virt-manager-tui

fabiand at fedoraproject.org fabiand at fedoraproject.org
Wed May 22 09:40:55 UTC 2013


Fabian Deutsch has uploaded a new change for review.

Change subject: f19: Drop virt-manager-tui
......................................................................

f19: Drop virt-manager-tui

virt-manager-tui is no longer shipped.

Change-Id: I0f65a72945e878da1805cd5b27c32dbf599db05b
Signed-off-by: Fabian Deutsch <fabiand at fedoraproject.org>
---
M recipe/ovirt18-minimizer.ks
M recipe/ovirt19-pkgs.ks
D recipe/ovirt19-post.ks
A recipe/ovirt19-post.ks
4 files changed, 57 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/73/14973/1

diff --git a/recipe/ovirt18-minimizer.ks b/recipe/ovirt18-minimizer.ks
index 240f065..1d78d03 100644
--- a/recipe/ovirt18-minimizer.ks
+++ b/recipe/ovirt18-minimizer.ks
@@ -1,5 +1,4 @@
 # Fedora specific image minimization
-keep /usr/share/virt-manager
 
 # qemu minimization
 droprpm qemu-system-alpha
diff --git a/recipe/ovirt19-pkgs.ks b/recipe/ovirt19-pkgs.ks
index 76a2e0f..d7d068b 100644
--- a/recipe/ovirt19-pkgs.ks
+++ b/recipe/ovirt19-pkgs.ks
@@ -1,5 +1,4 @@
 %include fedora-pkgs.ks
-virt-manager-tui
 grub2-efi
 firewalld
 selinux-policy-devel
diff --git a/recipe/ovirt19-post.ks b/recipe/ovirt19-post.ks
deleted file mode 120000
index 9db2b0e..0000000
--- a/recipe/ovirt19-post.ks
+++ /dev/null
@@ -1 +0,0 @@
-ovirt18-post.ks
\ No newline at end of file
diff --git a/recipe/ovirt19-post.ks b/recipe/ovirt19-post.ks
new file mode 100644
index 0000000..f60d419
--- /dev/null
+++ b/recipe/ovirt19-post.ks
@@ -0,0 +1,57 @@
+# ovirt-install-node-stateless
+# ovirt_setup_libvirtd()
+    # just to get a boot warning to shut up
+    touch /etc/resolv.conf
+
+    # set up qemu daemon to allow outside VNC connections
+    sed -i -e 's/^[[:space:]]*#[[:space:]]*\(vnc_listen = "0.0.0.0"\).*/\1/' \
+       /etc/libvirt/qemu.conf
+
+    # disable mdns/avahi
+    sed -i -e 's/^[[:space:]]*#[[:space:]]*\(mdns_adv = 0\).*/\1/' \
+       /etc/libvirt/qemu.conf
+
+#ovirt_setup_anyterm()
+   # configure anyterm
+   cat >> /etc/sysconfig/anyterm << \EOF_anyterm
+ANYTERM_CMD="sudo /usr/bin/virsh console %p"
+ANYTERM_LOCAL_ONLY=false
+EOF_anyterm
+
+   # permit it to run the virsh console
+   echo "anyterm ALL=NOPASSWD: /usr/bin/virsh console *" >> /etc/sudoers
+
+# systemd configuration
+# set default runlevel to multi-user(3)
+
+rm -rf /etc/systemd/system/default.target
+ln -sf /lib/systemd/system/multi-user.target /etc/systemd/system/default.target
+systemctl enable ovirt-firstboot.service >/dev/null 2>&1
+
+echo "Configuring IPTables"
+# here, we need to punch the appropriate holes in the firewall
+cat > /usr/lib/firewalld/services/ovirt.xml << \EOF
+<?xml version="1.0" encoding="utf-8"?>
+<service>
+  <short>ovirt-node</short>
+  <description>This service opens necessary ports for ovirt-node operations</description>
+  <!-- libvirt tls -->
+  <port protocol="tcp" port="16514"/>
+  <!-- guest consoles -->
+  <port protocol="tcp" port="5634-6166"/>
+  <!-- migration -->
+  <port protocol="tcp" port="49152-49216"/>
+  <!-- snmp -->
+  <port protocol="udp" port="161"/>
+</service>
+EOF
+
+# enable required services
+firewall-offline-cmd -s ssh
+firewall-offline-cmd -s ovirt
+firewall-offline-cmd -s dhcpv6-client
+
+echo "-w /etc/shadow -p wa" >> /etc/audit/audit.rules
+
+# Workaround for packages needing /etc/ovirt-node-image-release
+ln -s /etc/system-release /etc/ovirt-node-image-release


--
To view, visit http://gerrit.ovirt.org/14973
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I0f65a72945e878da1805cd5b27c32dbf599db05b
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Fabian Deutsch <fabiand at fedoraproject.org>



More information about the node-patches mailing list