Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- require 'oxidized/model/linuxgeneric.rb'
- class PRF < LinuxGeneric
- prompt /^(\[root\@\w+\-\w+\-\w+\-*(ecr|kvm|prf)\-\d+\s\W\]#\s)/
- comment '#NEWCOMMENT### '
- # taken from the linuxgeneric.rb
- post do
- cfg += add_comment 'BLABLABLABLABLA'
- cfg += cmd 'cat /etc/dumbfile'
- end
- #other cmds
- end
Advertisement
Add Comment
Please, Sign In to add comment