Blame SOURCES/0208-p2v-Disable-ssh-service-in-the-ISO-RHBZ-1248678.patch

ffd6ed
From 19f04c83cad40c60a530bfd09a479f24f944e7ae Mon Sep 17 00:00:00 2001
ffd6ed
From: "Richard W.M. Jones" <rjones@redhat.com>
ffd6ed
Date: Wed, 5 Aug 2015 12:39:10 +0100
ffd6ed
Subject: [PATCH] p2v: Disable ssh service in the ISO (RHBZ#1248678).
ffd6ed
ffd6ed
We don't want people to be able to ssh into the p2v ISO while it is
ffd6ed
running, with a simple, known root password.
ffd6ed
ffd6ed
(cherry picked from commit 007004a536c2893d31cf8e2ba3def629dc002203)
ffd6ed
---
ffd6ed
 p2v/p2v.ks.in | 3 +++
ffd6ed
 1 file changed, 3 insertions(+)
ffd6ed
ffd6ed
diff --git a/p2v/p2v.ks.in b/p2v/p2v.ks.in
ffd6ed
index a3b63ab..94c2dfe 100644
ffd6ed
--- a/p2v/p2v.ks.in
ffd6ed
+++ b/p2v/p2v.ks.in
ffd6ed
@@ -127,6 +127,9 @@ systemctl set-default multi-user.target
ffd6ed
 # Start p2v service
ffd6ed
 systemctl enable p2v.service
ffd6ed
 
ffd6ed
+# Disable ssh service (RHBZ#1248678)
ffd6ed
+systemctl disable sshd.service
ffd6ed
+
ffd6ed
 %end
ffd6ed
 
ffd6ed
 %post --nochroot
ffd6ed
-- 
ffd6ed
1.8.3.1
ffd6ed