Name,Count,Organization,Environment,Content View,Host Collections,Virtual,Guest of Host,OS,Arch,Sockets,RAM,Cores,SLA,Products,Subscriptions
fake%d,1000,Default Organization,Library,Default Organization View,"",Yes,,RHEL 6.4,x86_64,1,4 GB,1,"",69|Red Hat Enterprise Linux Server,""
host0,1,Default Organization,Library,Default Organization View,"",No,,RHEL 6.4,x86_64,1,4 GB,1,"","69|Red Hat Enterprise Linux Server,83|Red Hat Enterprise Linux High Availability (for RHEL Server)",
hammer csv content-hosts -v --file /tmp/hosts.csv
attach subs
#!/usr/bin/ruby
num = 1000
(1..num).to_a.each do |n|
puts n
`hammer host subscription attach --host fake#{n} --subscription-id 4028f9b05c6a2ce3015c8d1117670f4c`
end