Don't add arm staging hosts to createrepo as they don't have nfs mount

This commit is contained in:
Kevin Fenzi 2015-09-14 21:48:33 +00:00
parent 7d15549268
commit e186b3ade4

View file

@ -81,7 +81,7 @@ select now() as time, 'adding staging host {{ host }}' as msg;
insert into users (name, usertype, status) values ('{{ host }}', 1, 0);
insert into host (user_id, name, arches) values (
(select id from users where name='{{host}}'), '{{host}}', 'armhfp');
{% for channel in [ 'default', 'createrepo', 'maven', 'appliance', 'livecd', 'vm', 'secure-boot', 'compose', 'eclipse', 'images', 'image'] %}
{% for channel in [ 'default', 'appliance', 'livecd', 'vm', 'secure-boot', 'compose', 'eclipse', 'images', 'image'] %}
insert into host_channels (host_id, channel_id) values (
(select id from host where name='{{host}}'), (select id from channels where name='{{channel}}'));
{% endfor %}