From ad0e2aaf7e106e3974412b6a08880e8005c6a363 Mon Sep 17 00:00:00 2001 From: Marek Marczykowski Date: Wed, 16 Mar 2011 11:19:31 +0100 Subject: [PATCH] Fill all %TEMPLATENAME% tags (for CoW based templates) --- templates.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates.spec b/templates.spec index ef23dc2..ea8c481 100644 --- a/templates.spec +++ b/templates.spec @@ -43,7 +43,7 @@ touch $RPM_BUILD_ROOT/%{dest_dir}/private.img # we will create the real file in cp vm_conf_files/appvm-template.conf $RPM_BUILD_ROOT/%{dest_dir}/appvm-template.conf cp vm_conf_files/netvm-template.conf $RPM_BUILD_ROOT/%{dest_dir}/netvm-template.conf cp vm_conf_files/templatevm.conf $RPM_BUILD_ROOT/%{dest_dir}/templatevm.conf -sed -e s/%TEMPLATENAME%/%{template_name}/ < vm_conf_files/templatevm.conf >\ +sed -e s/%TEMPLATENAME%/%{template_name}/g < vm_conf_files/templatevm.conf >\ $RPM_BUILD_ROOT/%{dest_dir}/%{template_name}.conf cp vm_conf_files/dispvm-prerun.sh $RPM_BUILD_ROOT/%{dest_dir}/