11 lines
175 B
Bash
11 lines
175 B
Bash
#!/usr/bin/bash
|
|
|
|
prefix="hosting_"
|
|
postfix="_vm"
|
|
|
|
for var in $(cat memlist)
|
|
do
|
|
name=$prefix$var$postfix
|
|
virt-clone --original generic_hosting --name $name --auto-clone
|
|
done
|