add apt repo class
Check if virtual before trying zram