summaryrefslogtreecommitdiff
path: root/hscript/meta.cc
diff options
context:
space:
mode:
Diffstat (limited to 'hscript/meta.cc')
-rw-r--r--hscript/meta.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/hscript/meta.cc b/hscript/meta.cc
index 4d75819..84e026e 100644
--- a/hscript/meta.cc
+++ b/hscript/meta.cc
@@ -29,12 +29,12 @@ Key *Hostname::parseFromData(const std::string data, int lineno, int *errors,
return new Hostname(lineno, data);
}
-bool Hostname::validate() const {
+bool Hostname::validate(ScriptOptions) const {
/* Validate that the name is a valid machine or DNS name */
return false;
}
-bool Hostname::execute() const {
+bool Hostname::execute(ScriptOptions) const {
/* Write the hostname to /etc/hostname in the target environment. */
return false;
}