From mgoldman at redhat.com Sat Aug 8 11:12:48 2009 From: mgoldman at redhat.com (Marek Goldmann) Date: Sat, 8 Aug 2009 13:12:48 +0200 Subject: [Thincrust-devel] how to remove ACE? Message-ID: <214040FF-9311-4216-803D-22396EC448BD@redhat.com> I'm using appliance-creator to create appliances and want to exclude ACE from list of packages to install. Is there a simple way to remove ACE from appliance? I tried to add "-ace" to kickstart file, but this hadn't helped. Currently I'm using libguestfs to remove ACE, but this isn't very nice approach (takes time). Thanks! -- Marek Goldmann JBoss by Red Hat From jboggs at redhat.com Sun Aug 9 01:24:17 2009 From: jboggs at redhat.com (Joey Boggs) Date: Sat, 08 Aug 2009 21:24:17 -0400 Subject: [Thincrust-devel] how to remove ACE? In-Reply-To: <214040FF-9311-4216-803D-22396EC448BD@redhat.com> References: <214040FF-9311-4216-803D-22396EC448BD@redhat.com> Message-ID: <4A7E2541.9040204@redhat.com> Marek Goldmann wrote: > I'm using appliance-creator to create appliances and want to exclude > ACE from list of packages to install. Is there a simple way to remove > ACE from appliance? I tried to add "-ace" to kickstart file, but this > hadn't helped. > > Currently I'm using libguestfs to remove ACE, but this isn't very nice > approach (takes time). > > Thanks! > Are you using a custom kickstart file or the sample one provided by the appliance-tools package? From mgoldman at redhat.com Sun Aug 9 10:56:53 2009 From: mgoldman at redhat.com (Marek Goldmann) Date: Sun, 9 Aug 2009 12:56:53 +0200 Subject: [Thincrust-devel] how to remove ACE? In-Reply-To: <4A7E2541.9040204@redhat.com> References: <214040FF-9311-4216-803D-22396EC448BD@redhat.com> <4A7E2541.9040204@redhat.com> Message-ID: <41BB3F53-351A-4FF6-A5DC-49186D0777A2@redhat.com> On Aug 9, 2009, at 3:24 AM, Joey Boggs wrote: > Marek Goldmann wrote: >> I'm using appliance-creator to create appliances and want to >> exclude ACE from list of packages to install. Is there a simple way >> to remove ACE from appliance? I tried to add "-ace" to kickstart >> file, but this hadn't helped. >> >> Currently I'm using libguestfs to remove ACE, but this isn't very >> nice approach (takes time). >> >> Thanks! >> > > Are you using a custom kickstart file or the sample one provided by > the appliance-tools package? I'm using a custom kickstart file. Example one: http://gist.github.com/164718 and base-pkgs.ks: http://gist.github.com/164719 -- Marek Goldmann JBoss by Red Hat From jboggs at redhat.com Sun Aug 9 21:10:26 2009 From: jboggs at redhat.com (Joey Boggs) Date: Sun, 09 Aug 2009 17:10:26 -0400 Subject: [Thincrust-devel] how to remove ACE? In-Reply-To: <41BB3F53-351A-4FF6-A5DC-49186D0777A2@redhat.com> References: <214040FF-9311-4216-803D-22396EC448BD@redhat.com> <4A7E2541.9040204@redhat.com> <41BB3F53-351A-4FF6-A5DC-49186D0777A2@redhat.com> Message-ID: <4A7F3B42.10101@redhat.com> Marek Goldmann wrote: > > On Aug 9, 2009, at 3:24 AM, Joey Boggs wrote: > >> Marek Goldmann wrote: >>> I'm using appliance-creator to create appliances and want to exclude >>> ACE from list of packages to install. Is there a simple way to >>> remove ACE from appliance? I tried to add "-ace" to kickstart file, >>> but this hadn't helped. >>> >>> Currently I'm using libguestfs to remove ACE, but this isn't very >>> nice approach (takes time). >>> >>> Thanks! >>> >> >> Are you using a custom kickstart file or the sample one provided by >> the appliance-tools package? > > I'm using a custom kickstart file. > > Example one: http://gist.github.com/164718 and base-pkgs.ks: > http://gist.github.com/164719 > Your kickstart is trying to configure itself as if it was using ace. Based on the packages section you must have a dependency in one of them that's pulling in ace. Also is there any reason that it's configuring itself for ace in the kickstart if it's not being used on boot? /sbin/chkconfig --level 345 ace on mkdir /etc/sysconfig/ace touch /etc/sysconfig/ace/appliancename echo httpd-appliance >> /etc/sysconfig/ace/appliancename echo jboss-jgroups-appliance >> /etc/sysconfig/ace/appliancename echo front-end-appliance >> /etc/sysconfig/ace/appliancename %packages --excludedocs --nobase jboss-cloud-management %include base-pkgs.ks httpd-appliance jboss-jgroups-appliance front-end-appliance From mgoldman at redhat.com Mon Aug 10 09:52:26 2009 From: mgoldman at redhat.com (Marek Goldmann) Date: Mon, 10 Aug 2009 11:52:26 +0200 Subject: [Thincrust-devel] how to remove ACE? In-Reply-To: <4A7F3B42.10101@redhat.com> References: <214040FF-9311-4216-803D-22396EC448BD@redhat.com> <4A7E2541.9040204@redhat.com> <41BB3F53-351A-4FF6-A5DC-49186D0777A2@redhat.com> <4A7F3B42.10101@redhat.com> Message-ID: <4AAC80FB-E10C-457F-91B2-6EFDC42FD2E3@redhat.com> On Aug 9, 2009, at 11:10 PM, Joey Boggs wrote: > Marek Goldmann wrote: >> >> On Aug 9, 2009, at 3:24 AM, Joey Boggs wrote: >> >>> Marek Goldmann wrote: >>>> I'm using appliance-creator to create appliances and want to >>>> exclude ACE from list of packages to install. Is there a simple >>>> way to remove ACE from appliance? I tried to add "-ace" to >>>> kickstart file, but this hadn't helped. >>>> >>>> Currently I'm using libguestfs to remove ACE, but this isn't very >>>> nice approach (takes time). >>>> >>>> Thanks! >>>> >>> >>> Are you using a custom kickstart file or the sample one provided >>> by the appliance-tools package? >> >> I'm using a custom kickstart file. >> >> Example one: http://gist.github.com/164718 and base-pkgs.ks: http://gist.github.com/164719 >> > Your kickstart is trying to configure itself as if it was using ace. > Based on the packages section you must have a dependency in one of > them that's pulling in ace. Also is there any reason that it's > configuring itself for ace in the kickstart if it's not being used > on boot? Ah, you're right! front-end-appliance package had dependency to ACE. Thank you for help! --Marek > > /sbin/chkconfig --level 345 ace on > mkdir /etc/sysconfig/ace > touch /etc/sysconfig/ace/appliancename echo httpd-appliance >> /etc/ > sysconfig/ace/appliancename > echo jboss-jgroups-appliance >> /etc/sysconfig/ace/appliancename > echo front-end-appliance >> /etc/sysconfig/ace/appliancename > > %packages --excludedocs --nobase > jboss-cloud-management > %include base-pkgs.ks httpd-appliance > jboss-jgroups-appliance > front-end-appliance -- Marek Goldmann JBoss by Red Hat From bkearney at redhat.com Mon Aug 10 12:27:07 2009 From: bkearney at redhat.com (Bryan Kearney) Date: Mon, 10 Aug 2009 08:27:07 -0400 Subject: [Thincrust-devel] how to remove ACE? In-Reply-To: <4AAC80FB-E10C-457F-91B2-6EFDC42FD2E3@redhat.com> References: <214040FF-9311-4216-803D-22396EC448BD@redhat.com> <4A7E2541.9040204@redhat.com> <41BB3F53-351A-4FF6-A5DC-49186D0777A2@redhat.com> <4A7F3B42.10101@redhat.com> <4AAC80FB-E10C-457F-91B2-6EFDC42FD2E3@redhat.com> Message-ID: <4A80121B.9040109@redhat.com> Marek Goldmann wrote: > > On Aug 9, 2009, at 11:10 PM, Joey Boggs wrote: > >> Marek Goldmann wrote: >>> >>> On Aug 9, 2009, at 3:24 AM, Joey Boggs wrote: >>> >>>> Marek Goldmann wrote: >>>>> I'm using appliance-creator to create appliances and want to >>>>> exclude ACE from list of packages to install. Is there a simple way >>>>> to remove ACE from appliance? I tried to add "-ace" to kickstart >>>>> file, but this hadn't helped. >>>>> >>>>> Currently I'm using libguestfs to remove ACE, but this isn't very >>>>> nice approach (takes time). >>>>> >>>>> Thanks! >>>>> >>>> >>>> Are you using a custom kickstart file or the sample one provided by >>>> the appliance-tools package? >>> >>> I'm using a custom kickstart file. >>> >>> Example one: http://gist.github.com/164718 and base-pkgs.ks: >>> http://gist.github.com/164719 >>> >> Your kickstart is trying to configure itself as if it was using ace. >> Based on the packages section you must have a dependency in one of >> them that's pulling in ace. Also is there any reason that it's >> configuring itself for ace in the kickstart if it's not being used on >> boot? > > Ah, you're right! > > front-end-appliance package had dependency to ACE. > > Thank you for help! Yeah.. ace is a standard package.. and appliance-creator should not need it at all. -- bk