use loop1 instead of loop0

box-setup.sh always resizes the loopback partition on reboot. This
means that it always be loop1.
This commit is contained in:
girish@cloudron.io
2016-01-22 15:03:19 -08:00
parent 9706daf330
commit 2f20ff8def

View File

@@ -103,9 +103,9 @@ angular.module('Application').controller('GraphsController', ['$scope', '$locati
$scope.updateDiskGraphs = function () {
Client.graphs([
'averageSeries(collectd.localhost.df-loop0.df_complex-free)',
'averageSeries(collectd.localhost.df-loop0.df_complex-reserved)',
'averageSeries(collectd.localhost.df-loop0.df_complex-used)'
'averageSeries(collectd.localhost.df-loop1.df_complex-free)',
'averageSeries(collectd.localhost.df-loop1.df_complex-reserved)',
'averageSeries(collectd.localhost.df-loop1.df_complex-used)'
], '-1min', function (error, data) {
if (error) return console.log(error);